50
if vou
don't
specify the file name, vou
will
have ta give multiple LOAD com-
mands, one for each program up ta the one vou
want
loaded.
Unlike regular variable names, a file name can have up ta
128 significant charac-
ters. However, the length
is
effectively limited ta
two
display lines when typing in
file names from the keyboard. Characters in a file name may
be
any alphanumeric
or numeric characters. Here
are
some examples:
TEST
PROGRAM 1
TP1
EGGHEAD
XYZ
X1
X2
Vou can abbreviate the file name in the LOAD commando The command:
LOAD
"TEST"
would load
TEST
PROGRAM
1.
LOAD
"XY"
wou
Id
load
XYZ.
However,
LOAD
"X"
wou
Id
load XYZ, X
1,
or
X2,
whichever the
PET
encou ntered first
on
the tape.
The abbreviated file name
(Iike
XY
and X above) does not have to
be
the first
characters
in
the file name. The
PET
searches for a file name match
on
a
character-by-character basis.
This can
be
a boon
if,
say, vou have forgotten the exact file names of several pro-
grams, but vou think vou saved them
as:
PROG
1
PROG
2
PROG
3
PROG
4
when
in
fact vou
had
actually saved them
as:
PGM
1
PGM
2
PGM
3
PGM
4
Vou
want
to load the last program of the bunch,
so
vou try the command:
LOAD "PROG
4"
The
PET
will
go right past
PGM
4
without
loading it. since the file names
do
not
match. Of course,
Vou
could give successive LOAD commands
without
specifying
a file name. But vou can also try the command:
LOAD
"4"
75