A SERVICE OF

logo

32 Chapter 2
Command Definitions A-B
Native Mode Command Structure
Or, because decimal is the default you could omit the # sign and enter:
SPOOLER DEV=0006;SUSPEND;SHOW
Or, omitting the leading zeroes you could enter:
SPOOLER DEV=6;SUSPEND;SHOW
When entering numbers as command parameters, it is advisable to omit leading zeros for
some commands parsed by the compatibility mode (CM) parser.
Using Quotes and Strings
The NM parser optionally accepts any string input in single or double quotes. For example,
because the file name parameter of the PRINT command is a string parameter, you could
enter it as follows:
PRINT FILENAME
or
PRINT "FILENAME"
or
PRINT 'FILENAME'
General Rules for Using Quotes
Quotes are required if the value of any string parameter contains any of the following
delimiters:
, comma
; semicolon
blank (one or more spaces)
= equal sign
( left parentheses
) right parentheses
For example, suppose you want to set a variable called MYVAR to a value of ;(A). Because
this string contains both a semi-colon and parentheses, you would enter SETVAR as
follows:
SETVAR MYVAR ";(A)"
As another example, suppose you wanted to use the INFO= parameter of the RUN command
to pass the following string (which contains both commas and spaces) BLUE RIGHT 24,
SPLIT LEFT, 2. You would enter:
RUN PROG;INFO="BLUE RIGHT 24, SPLIT LEFT, 2"