Download Print this page

Radio Shack TRS-80 Model II Reference Manual page 32

Disk operating system
Hide thumbs Also See for TRS-80 Model II:

Advertisement

Library Commands
General rules for entering commands
Don't type any leading blanks in front of the command. For example:
TRSDOS READY
DIR
is an error. Omit the spaces before
DIR.
There must be at least one space between the command and any option list or
comment. For example:
DIR{SYS}
is an error. Insert a space between Rand { .
There can be any number of spaces between options.
DIR
{SYS
has the same effect as:
DI R {f3YS, PRT}
PRT}
When no ambiguity would result, the braces around the option list can be
omitted.
CREATE FileA NRECS=100,LRL=64
is acceptable, but
CREATE FileA NRECS=100,LRL=64
Set
UP
file area
is not, since the comment "Set up file area" will be taken as an invalid
parameter.
Details
When the syntax calls for a delimiter (bTOb, comma or space), other non-
alphanumeric non-brace characters will also serve, unless the special
punctuation is part of an option keyword, e.g., the = sign in several
commands.
LIST TEXTFILE {PRT:SLOW}
is equivalent to:
LIST TEXTFILE {PRT, SLOW}
65

Advertisement

loading