EasyManua.ls Logo

Commodore RF512C - Open;Dopen

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...
17
OPEN
/ DOPEN
F
unc
tion
OPEN
is
an
in
terpreter command, which create a file
Form
at
BASIC
BASIC
7.0
Syntax
by
open
i
ng
a
channel
for computer·drive
communication.
OOPEN
is
a B
ASIC
7.0 interpret f
il
e control
command
.
OEPN
file'" .device"'.channel"'[,stringS]
OEPN
file'" .device'" .channel"'[,"filename,type,
mode"]
OOPEN#file"', "filename[.SorP
]"
,
[.
Lrecord
l
eng
th
"']
[,
0
dr
ive"']
[.
U
dev
ice] [W]
The
f
il
e'" val
ue
is
from 1
to
255.
The
device"
de
fault value
is
8.
The
dr
ive'" default val
ue
is
O.
The
channel'" volue
is
from 1 to
15
type:
S for sequential
fi
le
p
for program file
U
for user file
L
for l
eng
th of a relative
fi
le
A
for
append
mode
: R
for
re
ad
W
for
wr
it
e
M
for
mod
ity
Where the pr
eceding
letters D
and
U please refer to
S
YN
TA
X.
Ex
ampl
e:
OOPEN#
3,
"
TABLE
", L 1
28
(open
fi
le number 3 relative file "TA
BLE"
wi
th record
length
128
characters.)