Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
language:introduction [2024/11/18 13:16] – [Variables and expressions] rajitlanguage:introduction [2025/09/04 11:09] (current) – [Loops and conditionals] rajit
Line 249: Line 249:
 The parentheses are used to group the body of the loop. ''i'' is The parentheses are used to group the body of the loop. ''i'' is
 the dummy variable, and it ranges from zero to eight in this the dummy variable, and it ranges from zero to eight in this
-example. The '';'' is a separator, and separates each instance of +example. In general if only one integer is specified for
-the body of the loop.  In general if only one integer is specified for+
 the range, the variable ranges from zero to one less than the integer. the range, the variable ranges from zero to one less than the integer.
 +This is a special case of a more general [[syntacticreplication|syntactic replication]] construct
 +that can be used in many contexts.
  
 The conditional statement uses the guarded command notation. They are The conditional statement uses the guarded command notation. They are