PRINT
A print-item will not be split between two
screen
lines unless the
print-item
is
a string with more
than
twenty-eight characters. In
that
case
the string
is
always begun on a new line
and
is
printed
with twenty-eight
characters
per
line until the entire
string
is
printed.
If
a numeric print-item
is
such
that
the only
character
not
able to fit
on
the
current
line
is
a trailing space, then the number
will be printed on the
current
line.
If
the number itself will not
fit
on
the
current
line.
it
is
printed on the next line.
The
print-list may end with a print·separator.
If
the print-list
is
not
terminated
by
a print-separator (line 130), the computer considers
the current line completed when all the
characters
produced from
the print'Jist
are
printed. In this
case
the first print-item
in
the next
PRINT
statement
(line 140) always begins on a new line.
If
the print-list ends with a print-separator (line 140), then the print·
separator
is
evaluated
and
the first
print-item
in
the next
PRINT
statement
(line 160) will
start
in
the position indicated by the print·
separator.
You
may use a
PRINT
statement
with no print·list. When such a
PRINT
statement
is
performed. the computf';r advances to the first
character
position of the next screen line.
This
has the effect of
skipping a line if the preceding
PRINT
statement
has no print-
separator
at
the
end.
User's
Reference
Guide
Examples:
>NEW
>100 A=23767
>110
8=79856
>120
C=A+S
>130
D=S-A
>140 PRINT A;B;C;D
>150
PRINT
"A"";A;"B=";S;"C="
;C;IIO=";D
>160
END
>RUN
23767
79856
103623
56089
A=
23767
B=
79856
C=
103623
D=
56089
**
DONE
**
>NEW
>100
A=
23
>110
B=597
>120
PRINT
A,
>130
PRINT
B
>140 PRINT
A;B;
>150 C=468
>160 PRINT
C
>170
END
>RUN
23
5'1 {
23
597
468
**
DONE
**
>N
EW
>100
1\~20
>
11
0
PRINT
A
>120
PRINT
>130
8=15
:>140
PRINT
B
>150
END
>RUN
20
15
**
DONE
**
>NEW
>100
FDR
J =1
TO
2
>110
FOR
1=1
TO
3
>120
PRINT
I .
,
>130
NEXT
I
>140
PRINT
>150
NEXT
J
>160
END
>RUN
1 2 3
1 2 3
**
DONE
**
II·69