pTAL Reference Manual (H06.08+)
Pointers
HP pTAL Reference Manual—523746-006
10-20
Declaring System Global Pointers
Declaring System Global Pointers
The system global pointer declaration associates an identifier with a memory location
at which you store the address of a variable located in the system global data area.
type
is any data type except UNSIGNED; specifies the data type of the value to which
the pointer points.
.SG
is an indirection symbol (see Table 2-7 on page 2-7).
identifier
is the identifier of the pointer.
preset-address
is the address of a variable in the system global data area. The address is
determined by you or the system during system generation.
Note. Only procedures that operate in privileged mode can access system global data.
Example 10-20. System Global Pointer Declaration
INT .SG newname;
type
.SG
identifier
:=
preset-address
;
,
VST020.vsd










