update example
This commit is contained in:
@@ -28,7 +28,7 @@ Some limitations apply:
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
local testFunc2 = MV_INLINE(function()
|
local testFunc2 = MV_INLINE(function()
|
||||||
return testFunc(1, 10), testFunc(11, 20), testFunc(1, 10)
|
return testFunc(1, 10), testFunc(11, 20), testFunc(1, 15)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
print(testFunc2())
|
print(testFunc2())
|
||||||
@@ -38,34 +38,34 @@ turns into:
|
|||||||
|
|
||||||
```lua
|
```lua
|
||||||
...
|
...
|
||||||
local i=l(nil)
|
local i=nil
|
||||||
repeat
|
repeat
|
||||||
local b=l(nil)
|
local b=nil
|
||||||
repeat
|
repeat
|
||||||
local f=0
|
local f=0
|
||||||
for o=1,10 do
|
for o=1,10 do
|
||||||
f=f+o
|
f=f+o
|
||||||
end
|
end
|
||||||
do
|
do
|
||||||
b=l(f)
|
b=f
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
until true
|
until true
|
||||||
local n=l(nil)
|
local n=nil
|
||||||
repeat
|
repeat
|
||||||
local a=0
|
local a=0
|
||||||
for e=11,20 do
|
for e=11,20 do
|
||||||
a=a+e
|
a=a+e
|
||||||
end
|
end
|
||||||
do
|
do
|
||||||
n=l(a)
|
n=a
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
until true
|
until true
|
||||||
local h=l(nil)
|
local h=nil
|
||||||
repeat
|
repeat
|
||||||
local k=0
|
local k=0
|
||||||
for q=1,10 do
|
for q=1,15 do
|
||||||
k=k+q
|
k=k+q
|
||||||
end
|
end
|
||||||
do
|
do
|
||||||
@@ -74,7 +74,7 @@ repeat
|
|||||||
end
|
end
|
||||||
until true
|
until true
|
||||||
do
|
do
|
||||||
i=l(j(b[1],1,b[2]),j(n[1],1,n[2]),j(h[1],1,h[2]))
|
i=l(b,n,h)
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
until true;
|
until true;
|
||||||
|
|||||||
Reference in New Issue
Block a user