Dynamic reference to function argument in torque script?
by gamer · in Torque Game Engine · 01/11/2007 (5:26 pm) · 1 replies
Can I do something similar to the following?
function f(){
echo(args[0]);
echo(args[1]);
}
meaning can I setup function that doesn't know what arguments or how many arguments it will take , but can reference these arguments.
thanks!
function f(){
echo(args[0]);
echo(args[1]);
}
meaning can I setup function that doesn't know what arguments or how many arguments it will take , but can reference these arguments.
thanks!
About the author
Torque Owner Roshan Kuriyan
Default Studio Name