Commodore vic-1540 User Manual page 74

Table of Contents

Advertisement

????? .SRC
could refer to files named
TSTER.SRC
or
DIAGN.SRC
or
PROGR.SRC
but not SRC .FILES
Both the characters and the position of the characters are significant.
The question mark and asterisk may be combined in many ways:
does not make sense because the question marks are in an area which is insignifi
cant (because of the asterisk).
P???FIL*
will access files with the names
PET FILE
or
PRG FILE-32
or
POKEFILES$$
or any other files starting with P and having FIL in positions 5-7.
SCRATCH with pattern matching should be used carefully, since multiple files
will be scratched. LOAD will load the first file which fits the pattern matching.
OPEN with pattern matching may be used to open an existing file, in which case
the first existing file encountered which fits the description will be opened.
However, OPEN should not be used with pattern matching when creating a new
file. Never use RENAME, SAVE, or COPY for pattern matching since an error
condition will result, if attempted.
67

Advertisement

Table of Contents
loading

Table of Contents