EasyManua.ls Logo

Commodore RF512C - Get Input; Print

Commodore RF512C
52 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...
18
GET
#
IINPUT
#
Function These interpreter
com
mands input
data
from a file
Format
BA
SIC
Syntax
to the computer.
G
ET#
file", variable
list
INPUTII
file#, variable
list
Remeber don't separate the keywords with
II
;
otherwise, the computer
wi
ll
give you different
response.
The file#
mus
t corresponding to the
opened
logical
file.
The
variables format of G
ET
II
and
INPUT
#
please refer to
GET
and
INPUT
in
BASI
C.
Ex
ampl
e:
refer to chapter
FILE
PROGRAMMING
PRINT
#
Fun
ction
This
in
terpreter
command
output
da
ta to the
spec
ifi
c logical f
ile.
Format
I
BASIC
PRINT#'
f
il
e#;output
li
st
Syntax Remember don't separate the keyword
wi
th
II
,
o
th
erwi
se,
the
compu
ter
wi
ll
give you different
respone.
The
fil
e#
mus
t
co
rresponding to
th
e
opened
logical
f
ile.
Through
th
at fil
e,
th
e output
li
st data
can
be
tr
ansfer to
th
e spec
ifi
c
dev
ice.
Ex
ampl
e: 10
OPEN
15,8,
15
20
PRINT
# 1
5,
"N:
TEST
,
ID
"
30
CLOSE
15
REM
open
file
no.15,
send
NEW
command
to the
d
ri
ve.