9.20. ASSOCIATED
9.20 ASSOCIATED — Status of a pointer or pointer/target pair
- Description:
-
ASSOCIATED(POINTER [, TARGET])
determines the status of the pointer POINTER or if POINTER is associated with the target TARGET. - Standard:
- Fortran 95 and later
- Class:
- Inquiry function
- Syntax:
-
RESULT = ASSOCIATED(POINTER [, TARGET])
- Arguments:
-
POINTER POINTER shall have the POINTER
attribute and it can be of any type.TARGET (Optional) TARGET shall be a pointer or a target. It must have the same type, kind type parameter, and array rank as POINTER.