update MV_INLINE example

This commit is contained in:
2025-09-09 19:37:27 -05:00
parent dcd0835e9e
commit fe88a4ec2f

View File

@@ -19,7 +19,7 @@ Some limitations apply:
## Valid Usage ## Valid Usage
```lua ```lua
local testFunc = MV_INLINE(function(start, endn) local testFunc = MV_INLINE(function(start, endn)
local total = 0 local total = 0
for i = start, endn do for i = start, endn do
total = total + i total = total + i
@@ -38,46 +38,46 @@ turns into:
```lua ```lua
... ...
local i=nil local b=o(nil)
repeat repeat
local b=nil local j=nil
repeat
local c=0
for e=1,10 do
c=c+e
end
do
j=c
break
end
until true
local a=nil
repeat repeat
local f=0 local f=0
for o=1,10 do for g=11,20 do
f=f+o f=f+g
end end
do do
b=f a=f
break break
end end
until true until true
local n=nil local p=nil
repeat repeat
local a=0 local l=0
for e=11,20 do for i=1,15 do
a=a+e l=l+i
end end
do do
n=a p=l
break
end
until true
local h=nil
repeat
local k=0
for q=1,15 do
k=k+q
end
do
h=l(k)
break break
end end
until true until true
do do
i=l(b,n,h) b=o(j,a,p)
break break
end end
until true; until true;
print(j(i[1],1,i[2])) print(m(b[1],1,b[2]))
``` ```