|
Pbasic knows hex
Pbasic is very comfortable with hex (a.k.a. hexidecimal) and binary numbers.
Decimal is assumed if there is no leading $ or #.
$ is the leading character to indicate a hex number $80 = 128 for example.
# is the leading character to indicated a binary number #1000000 = $80 = 128.
For me, Pbasic and hex go together like Mountain Dew and Pizza.
The base machine uses 8 bit and 16 bit registers. This makes hex very easy to use in come cases.
Just one programmer's opinion.
Joe J.
|