Hello, I wonder if how can I insert a table in a function’s parameter like this:
myTable = {1,2,3} function Test(Insert Table here) for i = #whateverTableinParams do --display myTable contents here end end
Hello, I wonder if how can I insert a table in a function’s parameter like this:
myTable = {1,2,3} function Test(Insert Table here) for i = #whateverTableinParams do --display myTable contents here end end
Yes.
so basically I do these
myTable = {1,2,3} function Test(theTable) for i = #theTable do --display myTable contents here end end Test(myTable)
done it thanks rob
Yes.
so basically I do these
myTable = {1,2,3} function Test(theTable) for i = #theTable do --display myTable contents here end end Test(myTable)
done it thanks rob