LCOBOUND intrinsic function

Standard: F77 F90 F95 F2003 F2008 Example program


<Syntax>

LCOBOUND ( COARRAY [ , DIM , KIND ] )

COARRAY : coarray of any type and corank N;
DIM : scalar Integer in the range 1 to N;
KIND : scalar Integer constant expression;

Result : Integer or Integer(Kind=KIND).

<Semantics>

If DIM appears, the result is scalar, being the value of the lower cobound of that codimension of COARRAY. If DIM does not appear, the result is a vector of length N containing all the lower cobounds of COARRAY. The actual argument for DIM must not itself be an optional dummy argument.

<Related>

CODIMENSION attribute, UCOBOUND intrinsic function