On Tuesday, September 3, 2002, at 09:43 , Tom Harwood wrote:
> "Joe Eugene" <[EMAIL PROTECTED]> wrote:
>> You used to be able to do in CF5.0
>> <cfset x=1>
>> <cfset Result=iif(x,"z='Arg1';5","z='Arg2';10")>
>
> Interesting.  That's actually a primitive form of CFSCRIPT -- the CF 4.x 
> and CF 5 expression parser was actually the CFSCRIPT parser in a 
> locked-down mode.  Mostly locked-down, as we see here...
>
> CFMX's parser draws clearer distinctions between CFSCRIPT and expressions.
>   On balance, I'd have to call it a CF5 bug, I'm afraid.

Just to clarify Tom's comment, this is one of those cases where should 
*not* have worked in CF5 but unfortunately it did. It wasn't how the 
language was defined, it just happened to be permitted by a bug in CF5...

So, CFMX is correct - the expression was never meant to be legal.

Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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