The do keyword is a reserved word that is only used in conjunction with other keywords.
occurences
editThe keyword do usually separates a language construct from an associated (compound) statement.
- loops
- {{HL|for}} … to … do
- {{HL|while}} … do
- identifier scope lookup routing: {{HL|with}} … do
- exception handling: {{HL|try}} … {{HL|except}} on … do
- in extended Pascal the start of initialization and finalization parts of a module: to begin do …; and to end do …;
Keywords: begin — do — else — end — for — if — repeat — then — until — while