
297
Syntax:
PRINT [data[CR/LFcontrol...]]
Parameter:
data
A numeric or string expression.
CR/LFcontrol
A comma (,) or a semicolon (;).
Description:
PRINT displays a number or a character string specified by data at the current
cursor position on the LCD screen (To position the cursor, use a
LOCATE state-
ment.) and then repositions the cursor according to
CR/LFcontrol.
■ data
• data may be displayed in any of the screen modes (the single-byte ANK mode,
two-byte Kanji mode, and condensed two-byte Kanji mode). (The condensed
two-byte Kanji mode is supported by the BHT-4000/BHT-5000.) It is, however,
necessary to select the screen mode by a
SCREEN statement before execution of
the PRINT statement.
If you specify single-byte ANK characters for
data after selecting the two-byte
Kanji mode or condensed two-byte Kanji mode with a SCREEN statement, then
those ANK characters will appear in the half-width size.
CLS
SCREEN 1 ’Kanji mode
PRINT "ABC123"
SCREEN 0 ’ANK mode
PRINT "DEF456"
hese statements produce this output:
I/O statement
PRINT
Displays data on the LCD screen.
ABC123
DEF456
Kommentare zu diesen Handbüchern