Quote:
Originally posted by rbayer
P.S. If anyone knows for sure what =, >, etc evaluate to, I would greatly appreciate knowing in order to fix up RoboEmu. I'm going with the assumption of either 0 or 1 for now, but it could be changed very easily.
|
I just tried this code:
Code:
'{$STAMP BS2sx}
'{$PBASIC 2.5}
if (1 = 1) = $ffff then
debug "(1 = 1) = $ffff.", cr
else
debug "(1 = 1) <> $ffff!", cr
endif
end
It prints out
I think we already knew that false conditions evaluate to 0. Now I would surmise that TRUE = ~FALSE.