Vector Basic Interpreter Basic 80 Reference Manual - page 86
Purpose:
Remarks:
To output data at the terminal.
If
is
omitted,
a
blank
line
is
printed.
If is
included, the
values
of
the
expressions
are
printed at the terminal.
The expressions in the
list may be numeric and/or
string
expressions.
(Strings must be enclosed in quotation marks.)
The position of each printed item is
determined
by the punctuation used to separate the items in
the list.
BASIC-SO divides the line into
zones
of
14
spaces
each.
In
the
list
of
expressions, a comma causes the next value to be
printed
at
the
beginning of the next zone.
A
semicolon.causes the next value
to
be
printed
immediately after the last value.
Typing one or
more spaces between
expressions
has
the
same
effect as typing a semicolon.
If a comma or a semicolon terminates the list of
expressions,
the
next
statement begins
printing on the same line, spacing
accordingly.
If
the list of expressions terminates without a
comma or
a
semicolon,
a
carriage
return
is
printed
at the end of the line.
If the printed
line is longer than the terminal width, BASIC-SO
goes
to
the
next
physical line and continues
printing.
Printed numbers are always followed by a
space.
Positive
numbers
are
preceded
by
a
space.
Negative numbers are preceded by a
minus
s~gn.
Single precision numbers that can be represented
with 6 or fewer digits in the unsealed format no
less
accurately than they can be represented in
the scaled format, are output using the unsealed
format.
For
example,
10A(-6)
is
output
as
.000001
and
10A(-7)
is output as
1E-7.
Double
precision
numbers
that ean be represented with
16 or fewer digits in
the
unsealed
format
no
less
accurately than they can be represented in
the sealed format, are output using the unsealed
format.
For
example,
10A(-16)
is
output as
.0000000000000001
and
10A(-17)
is
output
as
10-17.