Thanks.
As a side note, that article is years old and the performance differences 
between IIF() and CFIF are gone. I'm going to have to update that article 
for CFMX.


> Thanks so much - makes more sense than the other documentation that I've 
> seen out there.
>
>
>>This is basically an inline IF statement. What it does is take a IF
>>statement, evaluates it and if true runs the first result clause or if 
>>false
>>runs the second:
>>IIF(comparison statement, true result, false result)
>>IIF(Name IS 'Michael', 1, 0)
>>If a variable called name has a value of michael, the function returns a
>>value of 1. Otherwise it returns a value of 0.
>>
>>Here's an old article of mine on it:
>>http://www.fusionauthority.com/iif.cfm
>>
>>> Can someone please explain this function to me in the simplest of terms?
>>>
>>> Thanks
>>> Tgirl
>>>
>>>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1192
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to