Difference between revisions of "If and Then"

From Lazarus wiki
 
Line 1: Line 1:
This [[keyword]] preciedes a condiction, usually followed by [[then]] and [[else]].
+
This [[keyword]] preciedes a condition, is required to be followed by [[then]] and may be followed by [[else]].
  
 
   if (condiction)
 
   if (condiction)
 
   then (action)
 
   then (action)
 
   else (action);.
 
   else (action);.
 +
 +
 +
{{Keywords}}
 +
 +
{{Stub}}

Revision as of 21:34, 10 May 2006

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

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



Keywords: begindoelseendforifrepeatthenuntilwhile

An editor has declared this article to be a stub, meaning that it needs more information. Can you help out and add some? If you have some useful information, you can help the Free Pascal Wiki by clicking on the edit box on the left and expanding this page.