Can you Declare a 2 Byte Variable in Pbasic
Guido
Posts: 195
Is it possible to Declare a 2 Byte Variable in Pbasic?
Example:
Temp······Variable······ Byte(2)
Thank You
Guido
Example:
Temp······Variable······ Byte(2)
Thank You
Guido
Comments
Temp· VAR· Word
makes a 2-byte variable
Temp· VAR· Byte(2)
makes an array with two byte elements
rhino·· VAR···· Word·············' A 16-bit variable
head··· VAR···· rhino.HIGHBYTE···' Higher 8 bits of rhino
tail··· VAR···· rhino.LOWBYTE··· ' Lower 8 bits of rhino
Post Edited (PJ Allen) : 12/16/2007 3:08:51 PM GMT