Loops/Foreach: Difference between revisions

Content deleted Content added
Add ooRexx implementation
Loren (talk | contribs)
Add XPL0 example
Line 1,275:
Console.WriteLine(item)
Next</lang>
 
=={{header|XPL0}}==
Translation of C example:
<lang XPL0>include c:\cxpl\codes;
int List, I;
[List:= ["Red", "Green", "Blue", "Black", "White"];
for I:= 0, 5-1 do
[Text(0, List(I)); CrLf(0)];
]</lang>
 
=={{header|XSLT}}==