The first one is setting someVar to the value of someOthervar, while the second is comparing the two.
Douglas Brown Email: [EMAIL PROTECTED] ----- Original Message ----- From: "Matt Liotta" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Saturday, May 04, 2002 5:01 PM Subject: RE: <cfset var1 = or EQ var2> > 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. > > > > > > > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm 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

