OK, so you have the results left justified, it should work. BUT maybe you have some nifty noise on the line or something like that. Allow a certain error margin.



test 0
If pw<5 then

test 255
if pw>250 then


still stucked?!? well let's try a variant of it

Test 0
if ADRESH<5 then

test 255
if ADRESH>250 then

about now?