Loops/Wrong ranges: Difference between revisions
→{{header|langur}}
Langurmonkey (talk | contribs) |
Langurmonkey (talk | contribs) |
||
Line 1,958:
=={{header|langur}}==
In the following example, we could have just started with a list of lists, but following the Python example, we process
{{trans|Python}}
Line 1,975:
var .table = submatches(RE/([^ ]+) +([^ ]+) +([^ ]+) +(.+)\n?/, .data)
val .f =
for .i in 2..len(.table) {
.table[.i] = map [.f, .f, .f, _], .table[.i]
Line 1,990 ⟶ 1,991:
}
}
}
{{out}}
|