Oxygen Basic
Programming => Problems & Solutions => Topic started by: Peter on March 09, 2016, 06:22:52 AM
-
Hello,
why uses o2b -1 for True ?
-
Any non-zero value, can represent true, but -1 is safest to use with bit-wise logic.
-
Any non-zero value, can represent true, but -1 is safest to use with bit-wise logic.
Thanks Charles,
yes that true, other idiots take 1 ;D
-
Best way around that is test for non-FALSE.