Loops/Downward for: Difference between revisions
Content deleted Content added
Langurmonkey (talk | contribs) |
|||
Line 1,049:
</pre>
=={{header|
You can use a for in loop to count downward. You cannot use a for of loop for this.
<lang Langur>for .i in 10..0 {▼
writeln .i
}</lang>
<lang langur>for .i = 10; .i > -1; .i -= 1 {
writeln .i
}</lang>
|