6.1.2.2 %LOC Built-In Function

The %LOC built-in function computes the internal address of a storage element. It takes the following form:

%LOC (arg)
arg
Is a scalar memory reference, array name reference, aggregate reference, constant reference, or external procedure name.

The %LOC built-in function produces an integer (INTEGER*4 on VAX processors; INTEGER*8 on Alpha processors) value that represents the location of its argument. You can use this integer value as an element in an arithmetic expression.

For More Information:

For more details on the %LOC built-in function, see your user manual.


Previous Page Next Page Table of Contents