HIGH - Get upper bound

Language reference ›› Built-in functions ›› Miscellaneous ››
Parent Previous Next


Returns the high bound of any variable or type.

For an ARRAY it is the highest index.

For a STRING it is the string's max length.

For an enumerated type it is the last element value of the enumeration, which is its length minus one unless an explicit value is given for the last element.

Else it is the maximum value: