Anonymous user
Loops/For with a specified step: Difference between revisions
Loops/For with a specified step (view source)
Revision as of 23:29, 15 September 2009
, 14 years agoModula-3
(PowerShell) |
(Modula-3) |
||
Line 169:
for [i 2 8 2] [type :i type "|, |] print [who do we appreciate?]
</lang>
=={{header|Modula-3}}==
<lang modula3>FOR i := 1 TO 100 BY 2 DO
IO.Put(Fmt.Int(i) & " ");
END;</lang>
=={{header|OCaml}}==
|