thanks bobby, yes i am also noticing evaluate runs slow as the processing increases.
i like your example although how would i write the code if sometimes there are 3 variables, sometimes 4 etc... it almost seems to me there needs to be a loop inside the if statement, unless i am misunderstanding this? thanks >This might work as well (and get rid of evaluate for you) > ><cfif variables[a] eq variables[b]> > > >.:.:.:.:.:.:.:.:.:.:.:.:.:. >Bobby Hartsfield >http://acoderslife.com >http://cf4em.com > > >apologies, the evaluate works fine, there was a mistake in my code :) > >i was unnecessarily wrapping the variables with hashes: <cfif evaluate("#a# >eq #b#")></cfif> > > > >... >> it then throws an error due to the double quote being encapsulated >> within the double quotes of the evaluation function. >> >> would appreciate some help on the best way to achieve this >> >> thanks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346156 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

