Loops/For with a specified step: Difference between revisions

Content added Content deleted
(→‎{{header|REXX}}: added another version. -- ~~~~)
m (→‎version 2: changed varaible name. -- ~~~~)
Line 911: Line 911:


===version 2===
===version 2===
<lang rexx> do x=1 by 3/2 to 10
<lang rexx> do thing=1 by 3/2 to 10
say x
say thing
end</lang>
end</lang>
'''output''' is the same as above.
'''output''' is the same as above.