I'm doing essentially the same thing in my code - does anybody know how to
do this without using the 'despised' Evaluate?
Walt
-Original Message-
From: Tom Kitta [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 1:15 PM
To: CF-Talk
Subject: RE: Syntax for an event loop
I know
You can also do this (assuming foo is a udf):
cfset x = variables[foo]
cfoutput#x()#/cfoutput
If you want to dynamically pass attributes, just use argumentCollection.
cfset a = structNew()
cfset a.funkymode=true
cfset a.getdown=andgetfunky
cfset result = x(argumentCollection=a)
[Todays
I know I did dynamic function naming some time ago, it works fine, I think
syntax was:
cfset function_result = evaluate(function_name_var ())
For passing arguments:
cfset function_result = evaluate(function_name_var
(#arg1_variable#,arg2_as_number,'arg3_as_text'))
OR
cfset function_result =
3 matches
Mail list logo