Returns the upper bound of an array.

Category: | Array |

The HBOUND function
returns the upper bound of a one-dimensional array or the upper bound
of a specified dimension of a multidimensional array. Use HBOUND in
array processing to avoid changing the upper bound of an iterative
DO group each time you change the bounds of the array. HBOUND and
LBOUND can be used together to return the values of the upper and
lower bounds of an array dimension.

Statements:

ARRAY Statement in SAS Statements: Reference

Array Reference Statement in SAS Statements: Reference

Array Processing in SAS Language Reference: Concepts

Copyright © SAS Institute Inc. All rights reserved.