Clicky

Fortran Wiki
lcobound

Description

Returns the lower bounds of a coarray, or a single lower cobound along the dim codimension.

Standard

Fortran 2008 and later

Class

Inquiry function

Syntax

result = lcobound(coarray [, dim [, kind]])

Arguments

  • array - Shall be an coarray, of any type.
  • dim - (Optional) Shall be a scalar integer.
  • kind - (Optional) An integer initialization expression indicating the kind parameter of the result.

Return value

The return value is of type integer and of kind kind. If kind is absent, the return value is of default integer kind. If dim is absent, the result is an array of the lower cobounds of coarray. If dim is present, the result is a scalar corresponding to the lower cobound of the array along that codimension.

See also

ucobound, lbound

category: intrinsics