Loops/For with a specified step: Difference between revisions
→{{header|Lasso}}: adding Lasso demonstration of loop with specified step
m (→{{header|GAP}}) |
(→{{header|Lasso}}: adding Lasso demonstration of loop with specified step) |
||
Line 532:
: >>say.(*) . ;
1 10 2 <range> >>say.</lang>
=={{header|Lasso}}==
<lang Lasso>loop(-to=100, -from=1, -by=2) => {^
loop_count
'\r' // for formatting
^}</lang>
=={{header|Liberty BASIC}}==
|