You used to be able to do in CF5.0
<cfset x=1>
<cfset Result=iif(x,"z='Arg1';5","z='Arg2';10")>

Result takes the value of the right most argument of ";"
in this case Result=5
This doesnt work in CFMX.. any ideas?
I didnt see any documented changes on "IIF" in CFMX docs.

Joe
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to