Latest CFDJ states that iif takes 4 times as long to execute as
<cfif><cfelse></cfif>. The provide a snippet of code to test.
----- Original Message -----
From: "David Baskin" <[EMAIL PROTECTED]>
I've been told that we should never use IIF and i just took that on blind
faith. I've seen everyone using it for their changing table row background
colors though so now i'm wondering if i've been told something in error. can
anyone shed any light on this? thanks in advance.
david
> <tr bgcolor="#iif(qName.CurrentRow MOD 2, DE('ffffff'), DE('e8e8e8'))#">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists