Low function
Return lowest index of open array or enumerated.
Declaration
function Low(Arg: TypeOrVariable): TOrdinalDescription
The return value of Low depends on it's argument:
- If the argument is an ordinal type,
Lowreturns the lowest value in the range of the given ordinal type. - If the argument is an array type or an array type variable then
Lowreturns the lowest possible value of it's index. - If the argument is an open array identifier in a function or
procedure, then
Lowreturns the lowest element of the array, which is always zero. - If the argument is a set type then it returns the lowest value of the underlying ordinal type.
The return type is always the same type as the type of the argument.
for an example, see High.
Errors
None.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
