Node: do, Next: Double, Previous: div, Up: Reference

### do

#### Synopsis

         for ... do
           statement

or

         while ... do
           statement

or

         with ... do
           statement

or

         to begin do
           statement

or

         to end do
           statement

#### Description

The `do` reserved word is used in combination with other Pascal keywords in many ways. For description and examples see the relevant reference sections: `for`, `while`, `with`, `to begin`, `to end`.

#### Conforming to

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

#### Example

See references.

#### See also

Keywords, for, while, with, to begin do, to end do.