Chapter Contents |
Previous |
Next |
Using Debugger Commands |
Formats |
For example, the syntax of the print
command can appear in the following three
formats:
Format 1: |
print |
Format 2: |
print EXPRESSION |
Format 3: |
print EXPRESSION [(PTYPE)][
%FMT] [COUNT][,EXPRESSION[(PTYPE)] [%FMT][COUNT]] |
The following list gives typographical and syntax conventions:
print
, as indicated by the lowercase, bold
type.
print
command (EXPRESSION, PTYPE, %FMT, and COUNT). Arguments are indicated by uppercase
letters. These arguments are described in Arguments in the Debugger Formats.
Command Directory shows the entire syntax of a command by presenting a series of formats that illustrate combinations of arguments, from simple to complex.
Guidelines |
Command Directory is a detailed reference for all commands and command
formats. It illustrates
the syntax of debugger commands. The following guidelines apply to all command
formats.
You can use upper- or lowercase characters for debugger commands
and keywords. Check with your SAS Installation Representative for SAS/C products
to determine if special characters such as braces or brackets have been assigned
alternate representations at your location. See Character Set Defaults for Special Characters for more information.
Type
constant pointers with a leading
0p
, such as
0p0001b123
.
When
you type a command incorrectly (depending on the command and the arguments
that you enter with it), the debugger may reject the command, attempt to execute
the command, or enable you to reissue the command. Error Handling describes some of these possibilities and
the messages that you receive.
You can use abbreviations for commands and arguments. The accepted short form (or forms) for each command is listed in Command Directory.
Many keywords can also be abbreviated in debugger commands. The following are a few examples:
a{ll} | |
c{alls} | |
e{ntry} | |
r{eturn} | |
s{tr} |
Command Symbols |
Notice that the last three symbols (*, -, and +) are also valid operators in expressions that are used in debugger commands. The way that you use the symbol determines if it is interpreted as a command symbol or an operator. The debugger accepts the operators and symbols that are listed in Operators Supported in Expressions. It also accepts any special characters that are defined for your site. See Character Set Defaults for Special Characters. You also can use the concatenation operator (| |) for brackets [ ] and angle brackets (< >) for { }.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.