OC-PsychOS/modules/tests/dec.lua

9 lines
95 B
Lua

spawn("test",
function()
for i = 10, 1, -1 do
print(i)
coroutine.yield()
end
end
)