Evaluate isn't as slow as it used to be. That being said, you can use
the Variable scope like a struct

<cfif variables[variableName] is "">
...

On Wed, Apr 4, 2012 at 8:42 PM, Rob Voyle <[email protected]> wrote:
>
> Hi folks
>
> I have a list of variables that I want to validate.
> <cfloop list="#list#"  index="variableNames" delimiters = ",">
>
> I can get it to work fine using evaluate.
> <cfif evaluate(variableNames) is "">
>
> However most folks say evaluate is a performance hog and should be avoided.
> so what is the alternative?
>
> Thanks
> Rob
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5844
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to