Loops/Downward for: Difference between revisions

m
→‎version 3: changed the word ''decrements'' --> ''increments''. -- ~~~~
m (→‎version 1: indexted the DO loop to match the other DO loop statements. -- ~~~~)
m (→‎version 3: changed the word ''decrements'' --> ''increments''. -- ~~~~)
Line 641:
<lang rexx> do j=10 by -2 to 0
say j
j=j+1 /*this decrementsincrements the DO index. Do NOT program like this! */
end</lang>