OC-PsychOS/modules/tests/inc.lua

9 lines
91 B
Lua
Raw Normal View History

2017-07-30 19:12:10 +10:00
spawn("test",
function()
for i = 1, 10 do
print(i)
coroutine.yield()
end
end
)