/* C */
int32_t
sidl_double__array_upper(const struct sidl_double__array *array, int32_t ind);
// C++
int32_t
sidl::array<double>::upper(int32_t ind) const;
C FORTRAN 77
subroutine sidl_double__array_upper_f(array, ind, result)
integer*8 array
integer*4 ind, result
! FORTRAN 90
integer (selected_int_kind(9)) function upper(array, ind)
type(sidl_double_1d), intent(in) :: array ! type depends on dimension
integer (selected_int_kind(9)), intent(in) :: ind
// Java
public native int _upper(int dim);
This method returns the upper bound on the index for dimension ind of array. If the upper bound is greater than or equal to the lower bound, the upper bound is a valid index (i.e., it is not one past the end).