Specifications
BASIC Stamp II
Page 222 • BASIC Stamp Programming Manual 1.8 • Parallax, Inc.
Table M-3 lists all the variable modifiers. PBASIC2 lets you apply these
modifiers to any variable name, including fixed variables and I/O vari-
ables, and to combine them in any fashion that makes sense. For ex-
ample, it will allow:
rhino var word ‘ A 16-bit variable.
eye var rhino.highbyte.lownib.bit1 ‘ A bit.
Table M-3. Variable Modifiers
SYMBOL DEFINITION
LOWBYTE ‘low byte of a word
HIGHBYTE ‘high byte of a word
BYTE0 ‘byte 0 (low byte) of a word
BYTE1 ‘byte 1 (high byte) of a word
LOWNIB ‘low nibble of a word or byte
HIGHNIB ‘high nibble of a word or byte
NIB0 ‘nib 0 of a word or byte
NIB1 ‘nib 1 of a word or byte
NIB2 ‘nib 2 of a word
NIB3 ‘nib 3 of a word
LOWBIT ‘low bit of a word, byte, or nibble
HIGHBIT ‘high bit of a word, byte, or nibble
BIT0 ‘bit 0 of a word, byte, or nibble
BIT1 ‘bit 1 of a word, byte, or nibble
BIT2 ‘bit 2 of a word, byte, or nibble
BIT3 ‘bit 3 of a word, byte, or nibble
BIT4 ‘bit 4 of a word or byte
BIT5 ‘bit 5 of a word or byte
BIT6 ‘bit 6 of a word or byte
BIT7 ‘bit 7 of a word or byte
BIT8 ‘bit 8 of a word
BIT9 ‘bit 9 of a word
BIT10 ‘bit 10 of a word
BIT11 ‘bit 11 of a word
BIT12 ‘bit 12 of a word
BIT13 ‘bit13 of a word
BIT14 ‘bit14 of a word
BIT15 ‘bit15 of a word










