Page 1 of 1
table as a function argument
Posted: Wed Oct 12, 2011 1:15 am
by tolkien
Yeah, another stupid question.
How can I pass a table to a function as a argument?
I tried it and read the whole manual but...
I´m sure I´ll thanks you.
Re: table as a function argument
Posted: Wed Oct 12, 2011 2:46 am
by tolkien
Well,more or less I have the solution althought not the way I would like.
Re: table as a function argument
Posted: Wed Oct 12, 2011 7:13 am
by jalih
tolkien wrote:How can I pass a table to a function as a argument?
It should just work. Just remember that tables are reference types, use CopyTable() function if you need an independed copy of a table.
Re: table as a function argument
Posted: Wed Oct 12, 2011 10:22 am
by tolkien
I got it....Sleep...I need to sleep!:)