Changes after dll integration

This commit is contained in:
VladMordock
2021-02-22 15:45:08 +01:00
parent 88ecdeb897
commit 2b8c23bce8
116 changed files with 28891 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
-- example of for with generator functions
function generatefib (n)
return coroutine.wrap(function ()
local a,b = 1, 1
while a <= n do
coroutine.yield(a)
a, b = b, a+b
end
end)
end
for i in generatefib(1000) do print(i) end