Difference between revisions of "Then"
From Free Pascal wiki
Jump to navigationJump to searchm (Spelling fix) |
|||
Line 1: | Line 1: | ||
{{then}} | {{then}} | ||
− | [[Keyword]] preceded by [[If|if]] and followed by [[Else|else]] | + | '''then''' is a [[Keyword]] preceded by [[If|if]] and optionally followed by [[Else|else]] |
<syntaxhighlight> | <syntaxhighlight> | ||
− | + | if (condition) then | |
− | + | (action) | |
− | + | else | |
+ | (action); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{Keywords}} | {{Keywords}} | ||
[[category:Pascal]] | [[category:Pascal]] | ||
[[Category:Control Structures]] | [[Category:Control Structures]] |
Revision as of 20:55, 23 July 2016
│
Deutsch (de) │
English (en) │
français (fr) │
русский (ru) │
then is a Keyword preceded by if and optionally followed by else
if (condition) then
(action)
else
(action);
Keywords: begin — do — else — end — for — if — repeat — then — until — while