Difference between revisions of "Do"
From Free Pascal wiki
Jump to navigationJump to searchLine 10: | Line 10: | ||
** [[While|<syntaxhighlight lang="pascal" enclose="none">while</syntaxhighlight>]] … <syntaxhighlight lang="pascal" enclose="none">do</syntaxhighlight> | ** [[While|<syntaxhighlight lang="pascal" enclose="none">while</syntaxhighlight>]] … <syntaxhighlight lang="pascal" enclose="none">do</syntaxhighlight> | ||
* [[Identifier|identifier]] scope lookup routing: [[With|<syntaxhighlight lang="pascal" enclose="none">with</syntaxhighlight>]] … <syntaxhighlight lang="pascal" enclose="none">do</syntaxhighlight> | * [[Identifier|identifier]] scope lookup routing: [[With|<syntaxhighlight lang="pascal" enclose="none">with</syntaxhighlight>]] … <syntaxhighlight lang="pascal" enclose="none">do</syntaxhighlight> | ||
− | * exception handling: [[ | + | * [[Exceptions|exception]] handling: [[Try|<syntaxhighlight lang="pascal" enclose="none">try</syntaxhighlight>]] … [[Except|<syntaxhighlight lang="pascal" enclose="none">except</syntaxhighlight>]] <syntaxhighlight lang="pascal" enclose="none">on</syntaxhighlight> … <syntaxhighlight lang="pascal" enclose="none">do</syntaxhighlight> |
{{Keywords}} | {{Keywords}} | ||
− | |||
− |
Revision as of 19:30, 4 March 2019
│
Deutsch (de) │
English (en) │
español (es) │
suomi (fi) │
français (fr) │
русский (ru) │
do
is a reserved word that is only used in conjunction with other keywords.
occurences
do
usually separates a language construct from an associated (compound) statement.
- loops
- identifier scope lookup routing:
with
…do
- exception handling:
try
…except
on
…do
Keywords: begin — do — else — end — for — if — repeat — then — until — while