Loops/Wrong ranges: Difference between revisions
→{{header|langur}}
Thundergnat (talk | contribs) m (Fix Perl 6 -> Raku in comments) |
Langurmonkey (talk | contribs) |
||
Line 801:
{{trans|Python}}
{{works with|langur|0.
Langur 0.7.0 changed the implicit exception variable from .err to _err, and 0.7.1 allows you to map to multiple functions.
Prior to 0.10, multi-variable declaration/assignment would use parentheses around the variable names (.start, .stop, .inc, .comment).
<lang langur>val .data = q:block END
start stop increment comment
Line 819 ⟶ 822:
val .f = toNumber
for .i in 2..len(.table) {
.table[.i] = map
}
for .test in rest(.table) {
{
val .series = series(.start to .stop, .inc)
|