2013-01-23 33 views

答えて

11

は感謝()unpack

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

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

を使用してみてください!それは私が探していた行動でした。 – Josiah

関連する問題