UCOBOUND — Upper codimension bounds of an array#
- 
UCOBOUND(COARRAY, DIM, KIND)#
- Returns the upper cobounds of a coarray, or a single upper cobound along the - DIMcodimension.- Parameters
- ARRAY – Shall be an coarray, of any type. 
- DIM – (Optional) Shall be a scalar - INTEGER.
- KIND – (Optional) An - INTEGERinitialization expression indicating the kind parameter of the result.
 
- Returns
- The return value is of type - INTEGERand of kind- KIND. If- KINDis absent, the return value is of default integer kind. If- DIMis absent, the result is an array of the lower cobounds of- COARRAY. If- DIMis present, the result is a scalar corresponding to the lower cobound of the array along that codimension.
 - Standard:
- Fortran 2008 and later 
- Class:
- Inquiry function 
- Syntax:
- RESULT = UCOBOUND(COARRAY [, DIM [, KIND]]) 
- See also:
- LCOBOUND — Lower codimension bounds of an array, LBOUND — Lower dimension bounds of an array