Loop structures: Difference between revisions

Content added Content deleted
(→‎[[Toka]]: Updated to reflect Toka R1)
(Old example was silly and misleading: iterated over a size-1 array containing the range 0..4, instead of iterating over the range 0..4)
Line 769: Line 769:
===for===
===for===


for i in [0..4] do
for i in 0..4 do
foo
foo
end
end