Hello Moby,


Moby>>if (abs(adval-id_res[word_no]))<=((id_res[word_no]*res_tol)/100) then

I believe you have 1 too many parentheses <sp> on your if statement...
lets divid it up a little ok??

yours:
if (abs(adval-id_res[word_no]))<=((id_res[word_no]*res_tol)/100) then

Divided up:

if (abs (adval-id_res[word_no]) ) <=((id_res[word_no]*res_tol)/100) then


if you notice, your ending parenthises <sp> end before your less than or equal sign....
It probably should look like this:
if(XXXXX<=YYYY) then zzzz

if ( abs(adval-id_res[word_no]) <=((id_res[word_no]*res_tol)/100) ) then

Another format is
if xxxxx<=yyyyy then zzzz

if abs(adval-id_res[word_no]) <=((id_res[word_no]*res_tol)/100) then

Dwayne