Specifications

Commands - 92
PRINT$
Statement
SYNTAX: PRINT [#n,] $ character [,character]...
PR [#n,] $ character [,character]...
PURPOSE: Used to send any character from 0 to 255 out a serial port.
REMARKS: The statement is often used to send escape sequences to printers, displays, etc. It is the same as
PRINT CHR$(n);CHR$(n);CHR$(n);...
n = valid port number. Port numbers are 1 and 2 for serial; 9 for VF display; 10 for LCD display.
LCD and VF displays must be configured using the CONFIG DISPLAY command before use.
The valid character values are:
number prints numbers as a character
"string" print the string constant within the quotes. You cannot use string
variables.
NOTE: Due to compiler limitations, the number of numeric parameters following the PRINT$ may
not exceed 24.
RELATED: PRINT,PRINT USING
EXAMPLE: 10 PRINT$ 27,71,33,"END" replaces
10 PRINT CHR$(27) ; CHR$(71) ; CHR$(33) ; "END"
ERROR: <Data negative> – for character
<Data > 255> – for character
<Data out of range> – if n is not a valid serial port number