mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
SIGH Lua SIIGH.
This commit is contained in:
parent
d88db0faff
commit
dc000fb435
|
@ -66,14 +66,14 @@ g.data = mdata.third
|
||||||
list3 = g:generate_list()
|
list3 = g:generate_list()
|
||||||
|
|
||||||
print("From lua: ")
|
print("From lua: ")
|
||||||
for i, v in pairs(list1) do
|
for i, v in list1 do
|
||||||
print("\tlist1[" .. i .. "] = " .. v)
|
print("\tlist1[" .. i .. "] = " .. list1[i])
|
||||||
end
|
end
|
||||||
for i, v in pairs(list2) do
|
for i, v in list2 do
|
||||||
print("\tlist2[" .. i .. "] = " .. v)
|
print("\tlist2[" .. i .. "] = " .. list2[i])
|
||||||
end
|
end
|
||||||
for i, v in pairs(list3) do
|
for i, #t in list3 do
|
||||||
print("\tlist3[" .. i .. "] = " .. v)
|
print("\tlist3[" .. i .. "] = " .. list3[i])
|
||||||
end
|
end
|
||||||
|
|
||||||
)");
|
)");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user