Node: downto, Next: else, Previous: Double, Up: Reference

### downto

#### Synopsis

         for variable := value1 downto value2 do
           statement

#### Description

The `downto` reserved word is used in combination with `for` to build a `for` loop.

#### Conforming to

`downto` is defined in ISO 7185 Pascal and supported by all known Pascal variants.

#### Example

program DowntoDemo; var i: Integer; begin for i := 10 downto 1 do WriteLn (i) end.

#### See also

Keywords, for.