EasyManua.ls Logo

Commodore Plus 4 - Numeric Functions

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...
60
The
BASIC
Language
After
you
issue
a
LOAD
command
for
a
disk
program,
the
computer
displays
the
message
OK
SEARCHING.
When
the
program
is
loaded,
the
message
(program
name)
FOUND
is
displayed,
with
the
program's
name
displayed.
Type
RUN
to
execute
the
program.
Parameters:
"file
name",
device
number,
relocate
flag
1.
You
must
include
the
name
of
the
file
or use
wild
cards
to
get
the
first
program
whose
name
matches.
Enter
the
name
in
quotes.
You
can
use
a
variable
name
in
place
of
the
file
name.
The
variable
must
have
a
value.
It
may
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.
Device
number
is
1
for
cassette
recorder,
and
8
for
disk
drive.
The
default
value
is
1,
so
you
can
omit
this
parameter
if
you
are
loading
from
a
cassette
tape.
3.
You
are
unlikely
to
use
the
relocate
flag
except
for
machine-language
programs.
A
flag
of
0
tells
the
computer
to
load
the
program
at
the
beginning
of
the
BASIC
program
area,
and
1
loads
the
program
at
the
memory
location
from
which
it
was
saved.
Note:
For
disks,
only
program-type
files
can
be
LOADed.
Note:
In
program
mode,
a
RUN
command
(with
no
CLR)
is
automatically
issued
following
a
LOAD
operation.
For
example,
you
may
want
to
LOAD
a
machine
language
subroutine
from
BASIC.
10
IFL=OTHENL=1
:
LOAD
"file",8,1
The
LOAD
is
executed
only
once,
and
the
program
continues.
Examples:
LOAD
Loads
the
next
program
on
tape.
LOAD
"SHAPES3",8
Loads
file
SHAPES3
from
disk.
90
LOAD
(Y$)
Loads
a
file
from
tape.
The
name
of
the
file
is
the
current
value
of
Y$.
LOCATE
Abbr.
loC
LOCATE
coordinates
Repositions
the
pixel
cursor
on
a
graphic
mode
screen.
The
invisible
pixel
cursor
marks
the
final
point
of
the
previous
drawing
and
the
default
beginning
point
of
the
next
drawing.
Parameter
Values
Coordinates
Column
coordinate
High-res
modes
Multicolor
modes
Row
coordinate
0-319
0-159
0-199

Other manuals for Commodore Plus 4

Related product manuals