Node:Low, Next:LT, Previous:LongWord, Up:Reference

### Low

#### Synopsis

    function Low (ordinal_type_or_variable): ordinal_type;

or

    function Low (array_type_or_variable): array_element_type;

or

    function Low (string_variable): Integer;

#### Description

For ordinal types or variables of that type, `Low` returns the lowest value a variable of that type can assume.

For array types or variables of that type, `Low` returns the lowest index a variable of that type can assume. Note: the result is of the same type as the array index is. If the array has more than one dimension, `Low` returns the lowest index in the first dimension.

If the argument is a string variable, `Low` returns one.

#### Conforming to

`Low` is a Borland Pascal extension.

#### Example

    program LowDemo;
    type
      Colors = (Red, Green, Blue);
    var
      Col: array [12 .. 20] of Colors;
      Foo: 12 .. 20;
      Bar: Integer;
    begin
      Foo := Low (Col);            { returns 12 }
      Col[Foo] := Low (Col[Foo]);  { returns Red }
      Bar := Low (Integer)         { returns lowest ``Integer'' value }
    end.

#### See also

High