IIF is never necessary.

> -----Original Message-----
> From: Ruslan Sivak [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, September 08, 2002 9:45 PM
> To: CF-Talk
> Subject: RE: iif usage
> 
> 
> Iif is necessary in certain cases.  Last time I checked, you can't use
> cfif inside other cf tags...  (Maybe in mx you can). 
> 
> Russ
> 
> -----Original Message-----
> From: Sean A Corfield [mailto:[EMAIL PROTECTED]] 
> Sent: Sunday, September 08, 2002 8:48 PM
> To: CF-Talk
> Subject: Re: iif usage
> 
> On Sunday, September 8, 2002, at 02:24 , Ruslan Sivak wrote:
> > Hi, I'm having a problem with iif.
> 
> Don't use it. If you used cfif, you wouldn't be having these problems.
> You'
> ve got a boolean test and you set a string value which you then test
> later 
> (why not just use the same test or at least use a boolean type - fast - 
> instead of a more expensive string test?). iif() should be avoided in 
> almost all cases.
> 
> "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