present

Date:

10-12-2011

NAME

PRESENT - Determines whether an optional argument is present

SYNOPSIS

PRESENT ([A=]a)

IMPLEMENTATION

Cray Linux Environment (CLE)

STANDARDS

Fortran

DESCRIPTION

The PRESENT intrinsic function determines whether an optional dummy argument is present. It accepts the following argument:

a

Must be an optional dummy argument of the procedure in which the PRESENT function reference appears

PRESENT is an inquiry function. The name of this intrinsic cannot be passed as an argument.

RETURN VALUES

The result type is a default logical scalar. The result has the value TRUE if a is present and otherwise has the value FALSE.