> I challenge someone to come up with an useful example. The one you
> provided...
>
> is a complete waste that can be better written as.

As an answer to your "challenge" I agree that example I posted is pretty
useless.  Good thing I posted that before you actually put the "challenge"
out there, whew.

In your message you said "you can't do logic with it or assign the result to
a value" and I was simply pointing out that you CAN in fact assign the
result to a value, simple as that.  No reason to get all huffy.

> Again, there really is no reason to ever have a comparison in a <cfset>
> tag and I challenge someone to prove otherwise.

I guess if you had a certain comparison that needed to be evaluated numerous
times, it could be run once and put into a variable for use as a boolean
later on to save typing, or make it easier to update in the future if it's a
huge page.  Does that qualify as a reason?  Maybe not to you, but it might
be to someone...

-Justin Scott, Lead Developer
 Sceiron Internet Services, Inc.
 http://www.sceiron.com


______________________________________________________________________
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