I dont agree with Sean or Dave... i dont think IIF is necessary but its
a very useful function ... "IF USED PROPERLY"
For me 

#IIF(expression... ," ", " ")#   is much more concise code
than writting...

<cfif ....>
<else>
</cfif>

Many of you guys dont agree.. but i personally prefer using IIF and i
use it only when necessary... a good example would be...table row colors...
i dont use the above for complex logic...write cfscript blocks of code...
i am not very fond of <cfif> contructs...

Joe


----- Original Message ----- 
From: "Sean A Corfield" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, September 09, 2002 12:17 AM
Subject: Re: iif usage


> On Sunday, September 8, 2002, at 08:45 , Ruslan Sivak wrote:
> > Iif is necessary in certain cases.
> 
> No it isn't.
> 
> > Last time I checked, you can't use
> > cfif inside other cf tags...  (Maybe in mx you can).
> 
> You can always restructure such code to not need 'iif()'.
> 
> Sean A Corfield -- http://www.corfield.org/blog/
> 
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
> 
> 
______________________________________________________________________
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to