LCOBOUND intrinsic function

Standard: F77 F90 F95 F2003 F2008 Example program



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).


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.


CODIMENSION attribute, UCOBOUND intrinsic function