Symbolic Debug Parameters [ HPTOOLSET XL Reference Manual ] MPE/iX 5.0 Documentation
HPTOOLSET XL Reference Manual
Symbolic Debug Parameters
LIST OF TERMS
(1) Data-Item Type Selector Symbol (Pascal) Example
ARRAY [ , ] ARRY1 [1,2,3]
ARRY1 [1][2,3]
RECORD . MyVar.Field4
TOOLSET/XL also allows the following selectors even though they are not
permissible in standard Pascal:
ARRAY elements may be selected as (,):
A(1,3)
RECORD elements may include OF or IN in the syntax:
DISPLAY F2 IN F1 IN VAR1
DISPLAY F2 OF F1 OF VAR1
(2) Figurative Constants (Pascal)
Name Type Value
FALSE BOOLEAN 0
TRUE BOOLEAN 1
MININT INTEGER -2147483648
MAXINT INTEGER 2147483647
NIL POINTER 32767
(3) Figurative Constant (FORTRAN)
Name Type Value
.FALSE. BOOLEAN 0
.TRUE. BOOLEAN 1
MININT INTEGER -2147483648
MAXINT INTEGER 2147483647
NIL POINTER 32767
(4) Literals
Non-numeric literals must be delimited by single quotes (') or double
("). Numeric literals, which do not require quotes, may be preceded by
plus (+) or minus (-):
Non numeric "Hi There"
'So Long'
Numeric 25
+13
-100
(4) Stmt-no (Pascal)
Stmt-no is the compiler generated integer which appears on the listing in
front of each statement in a Pascal or COBOL program. When specifying a
statement number in Symbolic Debug, enter that number (up to 5 digits)
preceded by a pound (#) sign. Statement numbers may only have one
qualifier.
Statement numbers (stmt-no) may be qualified by appending them to a
program-ID, level-l procedure name, or any level-n procedure name inside
the current procedure name. reference the currently executing program.
If a statement number is in the level-1 procedure and is not qualified,
it references the corresponding stmt-no of that procedure.
(5) Location (Pascal)
A location is any program, procedure, or Pascal label name. Locations
can be referenced with a statement number:
ProcName + Stmt-No
ProcName - Stmt-No
LabelName + Stmt-No
LabelName - Stmt-No
If the specification is of the form x.y.z, only z can be a label name and
x and y must always be procedure names.
(6) ProcName
A procedure name in the source program. Procedure names are qualified in
the following ways:
ProcName-LevelB OF ProcName-LevelA
IN
ProcName-LevelA.ProcName-LevelB
ProcName-LevelA...ProcName-LevelB
where ".." indicates that LevelB is one or more levels deep inside
LevelA.
To avoid ambiguities, fully qualify procedure names.
MPE/iX 5.0 Documentation