9.266. UBOUND
9.266 UBOUND — Upper dimension bounds of an array
- Description:
- Returns the upper bounds of an array, or a single upper bound along the DIM dimension.
- Standard:
- Fortran 95 and later, with KIND argument Fortran 2003 and later
- Class:
- Inquiry function
- Syntax:
-
RESULT = UBOUND(ARRAY [, DIM [, KIND]])
- Arguments:
-
ARRAY Shall be an array, 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