Inspect Manual
High-Level Inspect Commands
Inspect Manual—429164-006
6-198
Default Values
file-locator
directs Inspect to read from a file other than the one containing the source text for
the current scope path. In this context, the SOURCE command is used to browse
through edit files. Inspect does not annotate the source with information such as
statement numbers, memory-exact points or the current location. The file-
locator clause accepts both Guardian filenames and OSS pathnames,
depending on the current systype of Inspect. If no file-locator is specified,
Inspect uses the source file specified in the object file for the current scope, which
can be either a Guardian file name or an OSS pathname.
You cannot specify a file locator when using SOURCE AT or SOURCE ICODE.
FILE file-name
directs Inspect to read from the given file.
You cannot specify the FILE clause when using SOURCE STATEMENT.
LOCATION code-location
directs Inspect to read from the file containing the source text for the given
code location.
You cannot specify the LOCATION clause when using SOURCE STATEMENT.
SCOPE scope-number
directs Inspect to read from the file containing the source text for the active
scope unit whose scope number (as shown by the TRACE command) is
scope-number.
WRAP
directs Inspect to display the full length of each source line, wrapping it onto the
next line if necessary.
Default Values
If you do not specify source-locator, the SOURCE command uses the current
scope path to determine what source text to display:
If the current scope path denotes an active scope unit, the SOURCE command
displays source text associated with the next code location in the scope unit.
If the current scope path denotes an inactive scope unit, the SOURCE
command displays source text associated with the first code location in the
scope unit.
If you do not specify limit-spec, the SOURCE command uses the current
values of the SOURCE FOR and SOURCE BACK environment parameters. You
can use the SET command to change these parameters.