Loops/For: Difference between revisions

Content added Content deleted
Line 2,300: Line 2,300:
Or, with one for loop...
Or, with one for loop...
<syntaxhighlight lang="langur">for .i of 5 {
<syntaxhighlight lang="langur">for .i of 5 {
writeln "*" x .i
writeln "*" * .i
}</syntaxhighlight>
}</syntaxhighlight>