01-07-2024, 06:02 PM
Code: (Select All)
Print &HFFFF
Const foo = &HFFFF
Print foo
Data &HFFFF
Read foo2
Print foo2
foo3$ = "&HFFFF"
Print Val(foo3$)
For example, the above prints:
Quote:-1
-1
65535
65535
Input and Line Input return... I dunno, but it'll be one of those two values...
GET returns... I dunno...
Every place in QB64 seems to handle these functions differently. If you want consistent results, add the suffix yourself and then you'll never need to worry about it.