Loops/For with a specified step: Difference between revisions

m
→‎{{header|Perl 6}}: more 'series' --> 'sequence', sorry 'bout the noise
m (→‎{{header|Perl 6}}: more 'series' --> 'sequence', sorry 'bout the noise)
Line 370:
{{works with|Rakudo|2010.07}}
 
With at least two values on the left-hand side, the seriessequence operator (<code>...</code>) can infer an arithmetic series. (With at least three values, it can infer a geometric seriessequence, too.)
 
<lang perl6>for 2, 4 ... 8 {
Anonymous user