Difference between revisions of "If and Then"

From Lazarus wiki
Jump to navigationJump to search
m
m
Line 1: Line 1:
This [[keyword]] preciedes a condition, is required to be followed by [[Then|then]] and may be followed by [[Else|else]].
+
This [[Keyword|keyword]] preciedes a condition, is required to be followed by [[Then|then]] and may be followed by [[Else|else]].
  
   if (condiction)
+
   if (condition)
 
   then (action)
 
   then (action)
 
   else (action);.
 
   else (action);.

Revision as of 11:34, 17 January 2007

This keyword preciedes a condition, is required to be followed by then and may be followed by else.

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



Keywords: begindoelseendforifrepeatthenuntilwhile