Chapter
1
I
About BASIC for
MS-DOS
Names
Directory names and filenames must conform
to
MS-DOS con-
ventions. They may contain any
of
the following characters:
0
uppercase letters (A-Z)
0
lowercase letters (a4
0
decimal digits
(0-9)
In
addition, they may contain the following special characters:
$
&
#
5%
()
-
(6
{}-'
!'*-
An entire pathname (or directory path) may contain a maximum
of
63
characters.
Some sample filenames are:
prog.bas report telephon. sls
Some sample directory names are:
MEMOS
LETTERS EMPLOYEE
In this manual, directory names are in uppercase letters, and
filenames are in lowercase letters. This lets you easily distin-
guish a directory name from
a
filename.
Wildcards
BASIC follows MS-DOS usage
of
wildcard notations when search-
ing for directories
or
filenames. The wildcard notations are:
?
indicates that any character can occupy that position.
*
indicates that any character can occupy that position
or
the
remaining positions in the filename or extension.
For example, if you specify this filename:
data?tst.txt
BASIC might find these files:
dataltst.txt
data3tst.txt
If you specify this filename:
data*.txt
13