EasyManua.ls Logo

Commodore RF512C - Initialize; Close;Dcloseidclear

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...
16
INITIALIZE
Fun
ct
ion
This
di
rect
command
is
a warm
sta
rt
function for
Fo
rm
at
the drive, Other then warm start,
it
also
can
re-
read
the current disk's
BAM
for more reliable
operation,
I
is
the mnemonic of intialize,
I
BA
SIC stringS="I[
NITIALl
ZE] [drivt"''j''
Syntax Remember, there has
no
single instruction
in
BAS
IC
for execution,
The
drive" default value
is
0,
Exampl
e:
10
CL
OS
E 1 :
OPEN
1,
8,15
, "
10
"
20
INPUT#
1,N,MS
:
PRINT
N;MS
30
CL
OS
E 1
CLOSE/DCLOSE/DCLEAR
Fun
c
ti
on These interpreter
commands
is
used to close a
logical file or
files,
Format
BA
SIC
C
LO
SE
fil
e"
BA
SIC
7,
0
DC
LOSE
[# file"]
[,
U
device"]
DC
LEAR
[D drive"] [
,u
device"]
Synt
ax
fi
l
e"
is
the specific file to
be
closed,
If no fi
le
"
is
specified in DC
LO
SE, then all
open
disk
files are closed,
DC
LEAR
clear
a
ll
open
channel on disk drive,
The
device
" default value is
8,
The drive" default value
is
0,
Where the pr
ec
edi
ng
letters D
and
U please refer
to S
YNTAX
,
Ex
ampl
e:
'10
For
1
=1
to
10
20
C
LO
SE I
30
NE
XT
REM
: close logical file from 1
to
10