Platform | x64, Win32, .NET |
Purpose |
To determine whether an optional argument is present. |
Class |
Inquiry function. |
Syntax |
LOGICAL FUNCTION PRESENT(A) |
Description |
The argument A is the name of an optional dummy argument in the current subprogram. It may be of any type, a scalar or an array, and it may be a pointer. It may also be the (dummy) name of a procedure. There is no assumed INTENT attribute for A. |
Return value |
The result has the value true if the optional argument A is present in the current call to the subprogram and otherwise has the value false. |