EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 22

Radio Shack TRS-80 Model 4
31 pages
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...
ON
expression
GOTO
line,
line
...
Goes to the line specified by the value of expression.
ON
x
GOTO
18~t
2~~t
21~
OPEN
mode,
buffer,
filespec
[,record
length]
Opens a disk file
in
the specified mode.
(0
for
sequential output, I for sequential input, D
or
R for
direct input/output, and E for sequential extend).
OPEN
"0"
t
1,
"CLIENTS/T)-<T"
OPEN
"D"
t 5 t
"TESTED/BAS"
t
64
OPTION
BASE
n
Sets n as the minimum value for
an
array subscript.
o
PTI
ON
BASE 1
OUT
porI,
data
byte
Sends data byte to a machine output port.
1
~~
OUT
32
t1
~~
PEEK(memory
location)
Returns a byte from memory location.
A = PEEK (
II,H5A~~)
POKE
memory
location,
data
byte
Writes a data byte into memory location.
1~
POKE
1536~,
181
POS(number)
Returns the position
of
the cursor. Number
is
a dummy
argument.
PRINT
PRINT
@
location,
PRINT
@ (row;
column),
Specifies where printing is to begin.
PRINT
TAB(n)
Moves the cursor to the n position on the current line
(or
on
succeeding lines if you specify TAB positions
greater than 79).
PRINT
TAB(5)
"TABBED
5";
TAB(25)
"TABBED
25"
PRINT# buffer,
item
I.
item
2
....
Prints data items
in
a sequential disk file.
PRINT#l,
A,B
PUT
bufier
(,record)
Puts a record
in
a direct-access file. Buffer is the
number used to OPEN the file.
PUT
1 PUT 1 t
25
-------------------
?fi

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals