BASIC commands
PROGRAMMING MANUAL
29
R
e
vi
si
o
n
1
.0
3.2.13 $ (Hexadecimal input)
/i
3.2.14 ' (Comment field)
/i
3.2.15 : (Statement separator)
/i
3.2.16 #
/i
Type
System command
Syntax
$hex_num
Description
The
$
command makes the number that follows a hexadecimal number.
Arguments
•
hex_num
A hexadecimal number (consisting of the characters 0 - 9 and A - F).
hex_num
ranges from 0 to 1FFFFFFFFFFFFF.
Example
>>TABLE(0, $F, $ABCD)
>>print TABLE(0), TABLE(1)
15.0000 43981.0000
See also
HEX (PRINT)
Type
Program command
Syntax
'
Description
'
marks all that follows it on a line as comment and not program code. Com-
ment is not executed when the program is run. You can use
'
at the beginning
of a line or after a valid statement.
Arguments
N/A
Example
' This line is not printed
PRINT "Start"
See also
N/A
Type
Program command
Syntax
:
Description
The statement separator
:
separates multiple BASIC statements on one line.
You can use it on the command line and in programs.
Arguments
N/A
Example
PRINT "THIS LINE": GET low : PRINT "DOES THREE THINGS"
See also
N/A
Type
Special character
Syntax
#
Description
The
#
symbol is used to specify a communications channel to be used for
serial input/output commands.
Note: Communications Channels greater than 3 will only be used when run-
ning the Trajexia Studio software.
Arguments
N/A
Example
PRINT #1, "RS232"
PRINT #2, "RS485"
Example
IF KEY #1 THEN GET #1, k
Checks keypad on RS232 port, which represent communication channel 1.
See also
N/A