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
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Bookmarks