EasyManua.ls Logo

Commodore Plus 4 - Page 337

Commodore Plus 4
464 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...
The
Disk
Drive
325
The
filename
is
a
string
expression
of
up
to
16
characters
by
which
the
program
will
be
known
on
the
disk.
Each
file
on
a
disk
must
have
a
unique
name.
The
drive
is
the
optional
drive
number
(which
is
not
needed
for
the
1541).
The
unit
is
optional;
it
is
the
device
number
for
the
disk
and
is
assumed
to
be
8
if
not
specified.
SAVE
filename,device
The
filename
is
the
same
as
above.
The
device
is
the
device
number
for
the
disk.
Neither
of
these
parameters
may
be
omitted
in
using
the
SAVE
command
to
save
a
program
on
the
disk.
To
retrieve
the
program,
the
DLOAD
(or
LOAD)
command
can
be
used.
DLOAD
filenamejidrive^unit
The
filename
is
the
name
used
when
saving
the
program.
The
drive
and
unit are
the
same
as
PS
AVE
and
are
optional.
Wild
cards
may
be used
in
the
file
name
of
a
LOAD
command.
The
first
file
in
the
directory
of
the
diskette
with
a
matching
name
is
loaded.
LOAD
filename,device,ab8olute/relative
flag
Again,
the
filename
is
the
same
name
used
to
save
the
program,
and
the
device
is
the
disk
device
number.
The
absolute/relativeflag
is
optional.
If
it
is
omitted
or
is
0,
the
file
is
loaded
as
a
BASIC
program
starting
at
the
beginning
of
BASIC
RAM.
If
it
is
1,
the
file
is
loaded
at
the
location
from
which
it
was
saved.
To
compare
a
program
in
memory
with
one
stored
on
disk
without
altering
memory,
use
the
VERIFY
command.
It
reports
if
the
file
is
not
identical
to
the
program
in
memory.
VERIFY
filename,device9ab80lute/relative
flag
All
of
the
parameters
are
the
same
as
for
LOAD.
Using
Data
Files
Several
types
of
data
files
can
be
created,
but
they
all
share
the
BASIC
commands
required
to access
them.
The
first
step
in
creating
any
data
file
is
to
open
it
for
use.