Posted 02 July 2014 - 01:20 AM
Okay so I am trying to make a quicker way to get the arguments back into a table like instead of:
local event, arg1, arg2, arg3, arg4, arg5 = os.pullEvent()
do it so it comes out in a table like (this doesn't work…):
local args {...} = os.pullEvent()
So I can do the following:
for_, strArgs in ipairs(args) do
print(strArgs)
end