Table of Contents

Advertisement

PRINT
Purpose
The PRINT is an output instruction for the screen.
Form
PRINT [<expression>{ ,|; <expression>} [ ,|; ] ]
Description
(1) The result of the <expression> is directed on the
screen as a numeric value of a character.
(2) Comma or semicolon is necessary as a delimiter when
several <expressions> are specified.
(3) If the comma is used as a delimiter, one line (80
characters) is divided into 5 zones each consisting of
16 characters.
Therefore, the value of the <expres-
sion> following the comma is directed in the next zone
following the zone of the previous <expression>.
(l|) If the semicolon is used as a delimiter, the value
of the <expression> following the semicolon is directed
continuously to the value of the previous <expression>.
(5) If the concluding comma or semicolon is omitted,
the RETURN Key code is sent to the screen at the end of
the PRINTstatement and the cursor is carriage-returned
(is movesd to the leftmost position of the next line).
(6) If the comma or semicolon at the end is specified,
the RETURN Key code is not sent to the screen at the
end of the PRINT statemen.
If the comma is specified,
the screen output is executed from the next zone. If
3-73

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents