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
Hey all,
I'm setting up an event loop for processing a series of functions.Each
function will return the name of the next function to run, depending
what happens during the function.I'm trying to figure how I would set
up the syntax for this.Should the following work or do I need to do
= evaluate(function_name_var ( arg1_variable
,arg2_as_number,'arg3_as_text'))
TK
-Original Message-
From: Lee Flier [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 12:54 PM
To: CF-Talk
Subject: Syntax for an event loop
Hey all,
I'm setting up an event loop for processing a series
4 matches
Mail list logo