You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
function g() return 3, 4.2 end
|
|
f = compiler.load('return 0, g(), 1')
|
|
assert(f and type(f) == 'function')
|
|
local a, b, c = f()
|
|
assert(a == 0)
|
|
assert(b == 3)
|
|
assert(c == 1) |