OC-PsychOS/modules/tests/inc.lua

9 lines
91 B
Lua

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