table as a function argument

Find quick help here to get you started with Hollywood
Post Reply
tolkien
Posts: 190
Joined: Sun Oct 17, 2010 10:40 pm
Location: Spain

table as a function argument

Post 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.
tolkien
Posts: 190
Joined: Sun Oct 17, 2010 10:40 pm
Location: Spain

Re: table as a function argument

Post by tolkien »

Well,more or less I have the solution althought not the way I would like.
jalih
Posts: 276
Joined: Fri Jun 18, 2010 8:08 pm
Location: Finland

Re: table as a function argument

Post 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.
tolkien
Posts: 190
Joined: Sun Oct 17, 2010 10:40 pm
Location: Spain

Re: table as a function argument

Post by tolkien »

I got it....Sleep...I need to sleep!:)
Post Reply