Commodore 128 Programmer's Reference Manual page 490

Hide thumbs Also See for 128:
Table of Contents

Advertisement

480
COMMODORE 128
USER NUMBER
-
CP/M 3.0 further identifies all files by assigning each one a user number, which can
i
i
range from 0 to 15. CP/M 3.0 assigns the user number to a file when the file is created.
User numbers allow you to separate your files into sixteen file groups.
Any user number other than 0 must precede the drive specifier. User 0, which is
the default user number, is not displayed in the prompt.
I
If a file resides in user 0 and is marked with a system file attribute, that file can
Lj
be accessed from any user number. Otherwise, a command can access only those files
that have the current user number.
[ >
CREATING A FILE
"
There are several ways to create a CP/M file, including:
I
i
■ Using the CP/M text editor (ED).
^
Using the PIP command to copy and rename a file.
Using a program such as MAC (a CP/M machine language assembler program),
I
I
which creates output files as it processes input files.
LJ
USING WILDCARD CHARACTERS TO
ACCESS MORE THAN ONE FILE
Li
A wildcard is a character that can be used in a filename or filetype in place of some other
characters. CP/M 3.0 uses the question mark (?) and asterisk (*) as wildcards. A ? stands
|
I
for any character that may be encountered in that position. An * tells CP/M to fill the
M
filename with question mark characters as indicated. A file specification containing a wild
card can refer to more than one file and is therefore called an ambiguous file specification.
RESERVED CHARACTERS
-
The characters in Table 14—1 are reserved characters in CP/M 3.0. Use only as indicated.
CHARACTER
MEANING
L-
<$,!!>[]
]
, ,
TAB,
SPACE,
I File specification delimiters
CARRIAGE RETURN]
U
:
Drive delimiter in file specification
Filetype delimiter in file specification
;
Password delimiter in file specification
;
Comment delimiter at the beginning of a command line
U
* ?
Wildcard characters in an ambiguous file specification
< > & ! I \ + -
Option list delimiters
,
[ ]
Option list delimiters for global and local options
j
()
Delimiters for multiple modifiers inside square
Lj
brackets for options that have modifiers
/ $
Option delimiters in a command line
I
i
Table 14-1. CP/M 3.0 Reserved Characters
LJ

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents