pTAL Reference Manual (G06.24+, H06.09+, J06.03+)

type
is any data type except UNSIGNED; specifies the data type of identifier.
identifier
is the identifier of a simple variable to be made equivalent to 'SG'.
'SG'
a symbol that denotes a 16-bit system global address.
index
is an INT constant that specifies the offset of the element in previous-ident to which the
equivalenced pointer or variable refers. Specify index only with direct variables. index must
end on a word boundary.
+, -
is the word or byte offset, relative to the base of previous-ident, where the equivalenced
variable is placed. For example, if a and b are declared:
INT a[0:9];
INT b = a+5
then b is placed at a[5].
offset
an equivalent INT values in the range 0 through 63.
Example 135 Equivalenced Simple Variable Declaration
INT item = 'SG' + 15;
Equivalenced Definition Structure
An equivalenced definition structure declaration associates a definition structure with a location
relative to a system global ('SG') or extended system global ('SGX') base address.
194 Equivalenced Variables