Inquiry Intrinsic Function (Generic): Returns the address of x. This function cannot be passed as an actual argument. This function can also be specified as IADDR.
Syntax
Results
The result type is INTEGER(4) on IA-32 architecture; INTEGER(8) on Intel® 64 and IA-64 architectures. 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.
Example
PROGRAM batest
INTEGER X(5), I
DO I=1, 5
PRINT *, BADDRESS(X(I))
END DO
END