Intel® Fortran Compiler 16.0 User and Reference Guide
Built-in Function: Computes the internal address of a storage item.
result = %LOC (a)
a |
(Input) Is a variable, an array or record field reference, a procedure, or a constant; it can be of any data type. It must not be the name of a statement function. If it is a pointer, it must be defined and associated with a target. |
The result type is INTEGER(4) on IA-32 architecture; INTEGER(8) on Intel® 64 architecture. The value of the result represents the address of the data object or, in the case of pointers, the address of its associated target. If the argument is not valid, the result is undefined.
This function performs the same function as the LOC intrinsic function.