Val

Blitz3D Forums/Blitz3D Programming/Val

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

In most BASICs I have seen, $ is standard for HEX, % for binary, 0 for octal and # for explicit decimal (in case the number has a leading 0, it doesn't get confused with octal).

255 ;decimal
#255 ;decimal
%11111111 ;binary
0377 ;octal
$FF ;hex