EasyManua.ls Logo

Commodore Plus 4 - Diskettes

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...
34
The
BASIC
Language
DLOAD
Abbr.
dL
DLOAD
file
name,
Ddrive,
Uunit
Loads
a
disk
program
into
memory.
You
cannot
use
DLOAD
to
load
pro
grams
from
tape.
Parameters:
"file
name",
D
drive
number,
U
unit
number
1.
You
must
include
the
name
of
the
file.
Enter
the
name
in
quotes.
You
can
use
a
variable
name
in
place
of
the
file
name,
but
the
variable
must
have
a
value,
and
it
must
be
in
parentheses
(not
in
quotes).
The
only
time
this
is
likely
to
be
useful
is
when
you
load a
program
from
within
another
program.
2.
Drive
numbers
are
either
0 or
1.
No
other
numbers
are
allowed.
The
default
value
is
0.
You
do
not
need
this
parameter
if
you
are
loading
from
a
single
disk
drive.
3.
Unit
number
is
an
optional
parameter.
Use
it
only
if
you
have
more
than
one
disk
drive
connected
to
your
computer
and
you
are
using
a
device
other
than
unit
8
in
the
loading
procedure.
You
must
precede
the
unit
number
with
U.
You
can
also
type
ON
before
U
and
the
unit
number,
but
ON
is
not
required.
Note:
The
drive
and
unit
number
parameters
and
the
file
name
can
be
speci
fied
with
a
variable
or
expression
in
parentheses.
Note:
Only
program-type
files
can
be
DLOADed.
Note:
In
program
mode,
a
RUN
command
(with
no
CLR)
is
automatically
issued
following
a
DLOAD
operation.
This
makes
it
possible
to
chain
programs.
Examples:
DLOAD
"CIRCLES'7
Loads
file
CIRCLES
from
disk.
90
DLOAD
(X$)
Loads
a
file
whose
name
is
the
current
value
of
X$.
File
X$
is
loaded during
the
execution
of
the
current
program.
DO
...
UNTIL/WHILE/EXIT
.
. .
LOOP
Abbrs.
do/uN/wH.exI/loO
DO
UNTIL
logical
value
WHILE
logical
value
commands
EXIT
commands
LOOP
UNTIL
logical
value
WHILE
logical
value
Repeats
execution
of
the
commands
between
DO
and
LOOP.
The
DO
loop
cannot
stop
itself
unless
you
add
commands
or
clauses
that
set
conditions
for
terminating
the
loop.
UNTIL,
WHILE,
and
EXIT
are
optional
clauses
that
can
be
included
to
terminate
a
DO
loop.
UNTIL
and
WHILE
clauses,
which
control
the
number
of
loop
executions,
contain
conditional
formulas
that
are
evaluated
each
time
the
loop
repeats.
EXIT
lets
you
abort
the
loop.

Other manuals for Commodore Plus 4

Related product manuals