|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
||||||
|
||||||
|
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. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PBASIC ARCTAN function | Greg Ross | Programming | 14 | 11-05-2003 12:28 |
| Obscure PBASIC for RoboEmu | rbayer | Programming | 1 | 28-03-2003 23:57 |
| PBasic 2.5 vs. 2.0 | Anthony Kesich | Programming | 6 | 09-02-2003 22:06 |
| PBASIC Loop Speed? | archiver | 2001 | 3 | 23-06-2002 23:46 |
| Another PBASIC Question | Ian W. | Programming | 4 | 31-01-2002 21:36 |