Visible to Intel only — GUID: GUID-EFDC1928-5944-4BAB-8A97-762AB62BDA54
Visible to Intel only — GUID: GUID-EFDC1928-5944-4BAB-8A97-762AB62BDA54
BADDRESS
Inquiry Intrinsic Function (Generic): Returns the address of an argument. This function cannot be passed as an actual argument. This function can also be specified as IADDR.
result = BADDRESS (x)
x |
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.
PROGRAM batest
INTEGER X(5), I
DO I=1, 5
PRINT *, BADDRESS(X(I))
END DO
END