2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
6 .. index:: LCOBOUND, coarray, lower bound
10 LCOBOUND --- Lower codimension bounds of an array
11 *************************************************
13 .. function:: LCOBOUND(COARRAY , DIM , KIND)
15 Returns the lower bounds of a coarray, or a single lower cobound
16 along the :samp:`{DIM}` codimension.
19 Shall be an coarray, of any type.
22 (Optional) Shall be a scalar ``INTEGER``.
25 (Optional) An ``INTEGER`` initialization
26 expression indicating the kind parameter of the result.
29 The return value is of type ``INTEGER`` and of kind :samp:`{KIND}`. If
30 :samp:`{KIND}` is absent, the return value is of default integer kind.
31 If :samp:`{DIM}` is absent, the result is an array of the lower cobounds of
32 :samp:`{COARRAY}`. If :samp:`{DIM}` is present, the result is a scalar
33 corresponding to the lower cobound of the array along that codimension.
36 Fortran 2008 and later
42 .. code-block:: fortran
44 RESULT = LCOBOUND(COARRAY [, DIM [, KIND]])