"I'll have 'conditional logic' for $300, Alex."

Ben, if I would have known you were on the list today, I wouldn't have
been talking about you earlier  ;>

~Brad

-----Original Message-----
From: Ben Forta [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 08, 2006 1:58 PM
To: CF-Talk
Subject: RE: CFIF multiple condition processing

Anyone know when this was added to CF?

<humming Jeopardy tune>

Time up! It was CF 4.0.1. And believe it or not, the update page is
still
online (looks a little odd, but hey, it's still there!):

http://www.adobe.com/v1/handlers/index.cfm?ID=10719&method=full&Location
ID=3
24



-----Original Message-----
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 08, 2006 2:50 PM
To: CF-Talk
Subject: RE: CFIF multiple condition processing

Yep, the short circuit feature is why you can get away with:
<cfif isdefined("variables.foo") and variables.foo eq "bar">

......and NOT get an error if it is not defined.

~Brad

-----Original Message-----
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 08, 2006 1:32 PM
To: CF-Talk
Subject: RE: CFIF multiple condition processing

CF evaluates the expressions in order, left to right. If one is false,
it
halts processing. 






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:249234
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to