moonscript/tests/outputs/loops.lua

17 lines
232 B
Lua
Raw Normal View History

2011-06-13 15:42:46 +00:00
for x = 1, 10 do
print("yeah")
end
for x = 1, #something do
print("yeah")
end
for y = 100, 60, -3 do
print("count down", y)
end
for a = 1, 10 do
print("okay")
end
for a = 1, 10 do
for b = 2, 43 do
print(a, b)
end
end