Difference between revisions of "Then/fr"

From Free Pascal wiki
Jump to navigationJump to search
m
m (Fixed syntax highlighting)
 
Line 4: Line 4:
 
'''then''' est un [[Keyword/fr|mot-clé]] précédé par [[If/fr|if]] et suivi facultativement par [[Else/fr|else]]
 
'''then''' est un [[Keyword/fr|mot-clé]] précédé par [[If/fr|if]] et suivi facultativement par [[Else/fr|else]]
  
<syntaxhighlight>
+
<syntaxhighlight lang=pascal>
 
if (condition) then  
 
if (condition) then  
 
   (action);
 
   (action);
 
</syntaxhighlight>
 
</syntaxhighlight>
 
<br>
 
<br>
<syntaxhighlight>
+
<syntaxhighlight lang=pascal>
 
if (condition) then  
 
if (condition) then  
 
   (action)
 
   (action)

Latest revision as of 07:03, 1 March 2020

Deutsch (de) English (en) français (fr) русский (ru)

then est un mot-clé précédé par if et suivi facultativement par else

if (condition) then 
  (action);


if (condition) then 
  (action)
else 
  (action);


Keywords: begindoelseendforifrepeatthenuntilwhile