EasyManua.ls Logo

Radio Shack TRS-80 Model III - Page 220

Radio Shack TRS-80 Model III
274 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TRS-80
MODEL
III
Input/Output
Statements
Statement/Function
PRINT
exp*
Output to
Display the value of
exp,
Exp may be a numeric
or string
expression or
constant,
or a list
of such items.
Comma serves
as a PRINT
modifier.
Causes cursor
to
advance to next
print zone
.
Semi-colon serves
as a PRINT
modifier.
Inserts
a space
after
a numeric
item in PRINT
list.
Inserts no
space after
a
string item.
At end of PRINT
list, suppresses
the
automatic
carriage return.
PRINT@«
PRINT
modifier;
begin
PRINTing
at specified
display
position
n.
PRINT TAB
n
Print
modifier:
moves
cursor
to
specified
Display position
n (expression).
PRINT
USING string
;exp
PRINT format
specifier;
output
exp in
form specified
by string field
(see below).
INPUT
'
'message"
variable
Print
message (if any)
and await
input from
Keyboard.
LPRINT
Output to line
printer.
PRINT
#
-
1
Output to
Cassette.
Examples
PRINT
A$
PRINTX
+
3
PRINT"D
=
"D
PRINT
1,2,3,4
PRINT"1","2"
PRINT
1„2
PRINTX;"
=
ANSWER"
PRINT
X;Y;Z
PRINT
"ANSWER IS";
Page
133
PRINT
(ci
540,
"CENTER"
PRINT
(a'N
+
3,X*3
PRINTTAB(N)N
PRINT
USING A$;X
PRINT
USING
"#.#";Y +
Z
INPUT"ENTER
NAME";A$
INPUT"VALUE";X
INPUT'ENTER
NUMBERS"
;X,Y
INPUT
A,B,C,D$
LPRINT
A$
PRINT#-1,A,B,C,D$
134
135
136
140
144
144
*exp
may
be
a string
of
numeric constant
or variable,
or
a list of
such items.
210

Other manuals for Radio Shack TRS-80 Model III

Related product manuals