Radio Shack TRS-80 PC-3 Owner's Manual page 157

Table of Contents

Advertisement

sian, the value is printed at the far left end of the display.
With the second form of the PRINT statement, the display is divided into two 12-characters halves and the two values are displayed
in each half, according to the same rules as above.
With the third form, the display starts at the left edge and each value is displayed immediately following the previous value from
left to right, with no intervening space.
The fourth and fifth forms of the PR INT statement do no printing. The fourth form causes all PR INT statements which follow it
in the program to be treated as if they were LPRINT statements. The fifth form resets the fourth condition so that the PRINT
statements will again work with the display.
While it is possible to write PR INT statements which would display more than 24 characters, only the leftmost 24 appear in the
display. There is no way to see the other characters.
Examples
10 A
=
10: B
=
20: X$
=
"ABCDEF"
20 PRINT A
30 PRINT X$
40 PRINT A, B
50 PRINT A; B; X$
Display
ABCDEF
10.20. ABCDEF
157
10.
10.
20.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents