<cfscript>
function foo() { return 1; }
func = "foo";
temp = variables[func];
writeOutput(temp(1));
</cfscript>
If your argument list is dynamic, just use argumentCollection:
arg = structNew();
arg.firstArg = 1;
arg.secondArg = "moon";
z = someFunc(argumentCollection=arg);
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

