Quote Originally Posted by xxxxxx View Post
helllo

here is my problem, i got the posttemp variable declared like this

Code:
posttemp var byte
<snip>
if temp >= posttemp then gosub s3
doesn't work,
and if i put it this way
Code:
if temp >= $0AF0 then gosub s3
then everything is working just fine but i want to change value $0AF0 like in above not working examplel

thx in advance
posttemp sure looks like a word to me. Try changing it to a word variable.