Inspect Manual
High-Level Inspect Commands
Inspect Manual—429164-006
6-196
SOURCE
SOURCE
The SOURCE command's primary function is to display source text. It performs other
functions, including searching for source text, displaying text from an arbitrary file, and
allowing you to redefine the location of source files.
source-locator
specifies what source text to display or search for.
AT code-location
specifies the source text corresponding to the given code location.
SOURCE [ source-locator ] [ limit-spec ]...
[ file-locator ] [ WRAP ]
source-locator: one of
AT code-location
ICODE [ AT code-location ]
[ LINE ] #line-number
[ STATEMENT ] statement-number
SEARCH string [ CASE ] [ position / position ]
limit-spec: one of
FOR count [ STATEMENT[S] | LINE[S] | INSTRUCTION[S] ]
BACK count [ STATEMENT[S] | LINE[S] | INSTRUCTION[S] ]
/ position
position: one of
F L #line-number statement-number
string: one of
" [ character ]... "
' [ character ]... '
file-locator: one of
FILE file-name
LOCATION code-location
SCOPE scope-number