function test()
--code
end
funcs = {test}
funcs[1]()
to call a function from a table. But how can I send arguments along?
The args should be between the () but because there are no () in {test}, I don't know how to do this. It would be very useful, because I use variables know instead of args to control function behaviour with this construction.