Oki OKIMATE 10 Handbook page 28

For commodore computers
Table of Contents

Advertisement

or the value of a variable—like this:
2fl L E T
A $
=
" T H E
I S
"
2 5
L E T
A =
4 2
3 D
P R I N T # 3 , A $ , A
A comma (,) between two parts of a print
statement will tab at 10 column intervals. A
semicolon (;) will print the two parts without
spaces between them.
Finally, after your last print statement, add a
CLOSE statement:
4 Q
C L O S E
This closes the channel to OKIMATE. The
number after CLOSE must be the same as the
first number in your OPEN statement.
M A G I C
N U M B E R
3
H O W T O P R I N T A L I S T I N G
O P E N 3,4
C M D 3
L I S T
P R I N T S
C L O S E 3
It is often handy to have a printed listing of a
program for debugging or reference. After
you've entered your program, follow the steps
below. Don't give the statements a line num­
ber. Each command will be executed as soon
as you type it in and press the RETURN key.
First, OPEN a channel to OKIMATE:
O P E N
Now type:
C M D 3
3 , 4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents