BASIC commands
PROGRAMMING MANUAL
44
Revi
si
on 3.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 FFFFFF.
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 Tools software.
Arguments
N/A
Example
PRINT #1,"RS232"
PRINT #2,"Port 2"
Example
IF KEY #1 THEN GET #1,k
Check keypad on RS232 port
See also
N/A
I52E-EN-03.book Seite 44 Freitag, 29. Juni 2007 11:55 11