_loops:loop(function(l) local i = 0 l:setCondition(function() return i < 10 end) l:setBody(function() _console:log(i) i = i + 1 end) end)