HP Pascal/iX Reference Manual (31502-90022)

12- 78
TABLES
TABLES is an HP Pascal Option.
When the TABLES compiler option is ON (and the LIST option is also ON),
the listing includes an identifier map for each compilation block.
Syntax
$TABLES {ON }$
{OFF}
Default OFF.
Location Anywhere.
In order for the listing to contain a table of a specific compilation
block, the TABLES and LIST options must be ON when the compiler finishes
parsing that block.
The table for a compilation block shows each identifier that the block
declares and its class, type, and address or constant value. This
information helps you debug your program.
The information in a table is arranged in four columns, as follows:
Col. Content
1 Alphabetical list of the identifiers accessible to the
current compilation block. If an identifier is the name of
a record type, its field names appear beneath it, indented.
2 The class of the identifier in column one. The classes of
identifiers are: USER DEFINED, CONSTANT, VARIABLE, FIELD,
FUNCTION, TAG FIELD, PARAMETER, and PROCEDURE. For nonlocal
references, the classes NON LOC VAR, NON LOC PARM, and NON
LOC FUNC are used for nonlocal variables, nonlocal
parameters, and nonlocal function returns, respectively.
3 The type of the identifier in column one. The types of
identifiers are: INTEGER, SHORT INTEGER, REAL, BOOLEAN,
SUBRANGE, ENUMERATED, BIT16, LONGREAL, CHAR (character)
VALUE, CHAR ARRAY, STRING LITERAL, ARRAY, RECORD, SET,
FILE, and POINTER.
4 The address or constant value of the identifier in column
one.
Addresses of variables and parameters are of the
form REG+
offset
, where
offset
has the format
byte_offset.bit_offset
(both
byte_offset
and
bit_offset
are
hexadecimal). REG is one of these four values:
Value Meaning
DP+ for global variables
SP- for local variables
PSP- for parameters
name
for global variables whose locations cannot be determined
at compile time (for example, module globals and globals in
GLOBAL/EXTERNAL compilation units). No offset is printed
in this case.
The meanings of the four REG values are as follows.