EasyManua.ls Logo

Commodore RF512C - Page 38

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...
32
There has
an
alternate
type
of
sequent
i
al
file -
USER
file.
Th
is
type
of
file uses byte as informati
on
element
a nd set
ST
to
64 as
EOF.
Here
is
a si
mple
program
in
using
USER
file.
INPUT
10
CLOSE
2:0PEN 2,8,
2"USER,U,W"
20
CMD
2
30
GET
K$
:
PRINT
KS;
40
IF
K$
CHRS
[17)THEN
30:REM
CTR
-Q
50
CLOSE
2
OUTPUT
10
CLOSE
2:0PEN 2,8,2,
"USER,U,R"
20
GET#
2,KSPRINT
K$;
30
IF
ST
64
THEN
20
40
CLOSE
1