that was me... took me forever to catch the error... i kept looking at the code... damn... <cfset eq blah... ...but it wold not take the value. maddening!!
;) brian At 07:11 PM 5/4/02 -0700, you wrote: >There really is no reason to ever have a comparison in a <cfset> tag as >you can't do logic with it or assign the result to a value. Most likely >the programmer made a mistake and since CF never threw an error, he or >she didn't notice. > >-Matt > >> -----Original Message----- >> From: Brian Scandale [mailto:[EMAIL PROTECTED]] >> Sent: Saturday, May 04, 2002 7:05 PM >> To: CF-Talk >> Subject: RE: <cfset var1 = or EQ var2> >> >> Thanks for the info Matt.... can you give me an example of how one >would >> use the second expression.... in my mind it just seems that it would >be >> used to set SomeVar... what??? true or false? >> >> Is that what it was doing? >> >> >> >> >> >> At 05:01 PM 5/4/02 -0700, you wrote: >> >Any valid expression can be inside of a <cfset> tag. Comparing two >> >variables is a valid expression. >> > >> >-Matt >> > >> >> -----Original Message----- >> >> From: Brian Scandale [mailto:[EMAIL PROTECTED]] >> >> Sent: Saturday, May 04, 2002 4:40 PM >> >> To: CF-Talk >> >> Subject: <cfset var1 = or EQ var2> >> >> >> >> What's the Difference between these two? >> >> >> >> <cfset SomeVar = SomeOtherVar> >> >> >> >> vs >> >> >> >> <cfset SomeVar EQ SomeOtherVar> >> >> >> >> >> >> I've been chasing a bug using the latter expression for 10 hours... >> >until >> >> I noticed the improper use of EQ. No compile error was generated >these >> >> last 10 hours making me think that perhaps there is a purpose to >the >> >> latter expression. >> >> >> >> >> >> >> >> >> > >> > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.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