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


______________________________________________________________________
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