High
Returns the highest value in the range of an argument.
Structure
High(X);
Parameters
Return Value
Description
Call High to obtain the upper limit of an Ordinal, Array, or string value. The result type is X, or the index type of X.
X is either a type identifier or a variable reference. The type denoted by X, or the type of the variable denoted by X, must be one of the following:
For this type High returns
Ordinal type (includes Int64) The highest value in the range of the type
Array type The highest value within the range of the index type of the array
String type The declared size of the string
Open array The value, of type Integer, giving the number of elements in the actual parameter minus one
String parameter The value, of type Integer, giving the number of elements in the actual parameter minus one. |