Variables

Variables can be specified by their symbolic name or by their address. If they are specified by address, both the starting address (in hexadecimal, preceded by a . (period)) and the variable's size (in decimal) must be specified, in that order. These values can be found in the symbol table listing produced when you compile with the -Ls compiler option. Any variable specified directly by address is treated as if it were an alphanumeric variable. Variables specified by name are treated as their correct type, except for edited fields, which are treated as alphanumeric.

Either form of addressing may have an index specified for it. This index is a number in parentheses following the address. Only constant values may be used as table subscripts.

You may use name qualification with the Display, Accept, and Monitor commands. For example, you may type FIELD-1 IN GROUP-1 to refer to FIELD-1 of GROUP-1. Name qualification is not supported for on-screen commands (such as F7) and for situations in which you double-click the data name.

Data items may be qualified by a group name. Table indexes may be specified with variables.

Note: For data items of variable size, the debugger always treats the data item as if it were currently defined to be its maximum size.

Examples:

VAR-1 Variable name
3A4, 5 Address 3A4 for 5 bytes
ARRAY-1 (2,4) Indexed variable