Lua : Dynamically calling a function with arguments.
- by Tipx
Using Lua, I'm trying to dynamically call a function with parameters.
I want to send a string to be parsed in a way that:
1st argument is a class instance "Handle"
2nd is the function to be called
All that is left are arguments
"modules" is a a table like { string=<instance of a class> }
split() is a simple parser that returns a table…