EasyManua.ls Logo

Commodore VIC-20 - Page 24

Commodore VIC-20
308 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...
I
When
the
program
is
not
the
first
on
the
lape,
or you're
not
sure
that
it
is,
the
VIC
can
search
for
the
program
you
want.
Type
LOAD
and
the
name
of
the
program
inside
quote
marks
("),
or
the
name
of
a
string
variable
containing
the
name
of
the
program.
The
VIC
will
show
any
other
programs
or
files
that
it
sees
on
the
tape
with
the
message:
r
FOUND
name
The
VIC
will
onfy
LOAD
the
correct
program,
and
will
not
LOAD
a
data
file
on
that
tape.
LOAD
FROM
DESK
In
order
to
bring
in
a
program
from
a device
other
than
the
tape,
a
device
number
is
used.
Folfowing
the
name
of
the
program,
type
a
comma
(,)
and
the
number
(or
variable
containing the
number).
The
cassette
is
device
number
1.
The
disk
drive
is
device
numbers.
See
the
manual
of
the
device
for
its
number.
If
the
program
with
that
name
is
not
found
on
the
device,
a
FILE
NOT
FOUND ERROR
will
result.
This
doesn't
happen
on
tape,
since
the
VIC
has
no
way
of
sensing
that
there
are
no
more
programs
on
a
tape.
It
is
possible
to
put
an
end-of-tape
marker
on
the
tape,
using
the
SAVE
or
OPEN
statements,
and
if
the
VIC
reads
this
marker
while
searching
a
tape,
an
error
message
appears.
The
VIC
will
automatically
LOAD
the
program
into
the
beginning
of
BASIC
program
memory,
at
location
4096
in
a
machine
without
an
extra
3K
of
memory,
or
at
1024
with
the
extra
3K.
For
certain
applications
this
may
not
be
convenient.
By
following
the
device
number
with
a
comma
and
the
command
number
1,
the
VIC
will
be
sure
to
LOAD
the
program
in
the
same
spot
in
memory
from
which
it
was
SAVEd.
LOAD
can be
used
as
a
statement
in
a
BASIC
program.
The
program
will
be
RUN
as
soon
as
LOADing
is
finished.
Variables
used
in
the
first
program
will
not
be
cleared
as
long
as
the
new
program
is
shorter
in
length
than
the
older
one.
If
a
longer
program
is
LOADed
on
a
short
one,
the
BASIC
program
lines
will
over-write
the
variables,
and
changing
a
variable
will
mess
up
the
program.
Note
that
using
an
asterisk
can
save
loading
time
(see
examples).
EXAMPLES:
LOAD
Reads
in
the next
program
from
tape.
LOAD
"HELLO"
Searches
tape
until
the
program
called
HELLO
is
found,
then
it
is
LOADed.
LOAD
AS
Uses
the
name
in
AS
to
search,
3
I
I

Other manuals for Commodore VIC-20

Related product manuals