2013-01-23 6 views

cevap

11

() ve unpack

function sayhello(name, message) 
    print("hello " .. name .. ". " .. message) 
end 

func1 = sayhello 
args1 = {"test", "how are you"} 
func1(unpack(args1)) 
+0

Teşekkür kullanmayı deneyin! Aradığım davranış buydu. – Josiah