Brad,

IIF() actually compiles down to a 'short-circuited' if in java.

Here is an article about how to use IIF() without having to use evaluate() -
"IIf() without Delayed Evaluation". 

http://www.phillipholmes.com/?p=43

Warmest Regards,
 
Phillip B. Holmes
http://phillipholmes.com
214-995-6175 (cell)




 

-----Original Message-----
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Sunday, July 23, 2006 12:40 AM
To: CF-Talk
Subject: RE: iif: am I understanding correctly?

Hmm, I had always just figured that cfif and iif just compiled down to the
exact same java anyway...

I wonder if one could have an advantage over the other if the condition was
either true or false....  all this worrying over a few microseconds
:)

~Brad

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date: 7/17/2006
 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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/cf_lists/message.cfm/forumid:4/messageid:247420
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to