View Single Post
  #3   Spotlight this post!  
Unread 21-10-2001, 11:01
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,648
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
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.