RE: cfset var1 = or EQ var2

2002-05-04 Thread Matt Liotta
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

Re: cfset var1 = or EQ var2

2002-05-04 Thread Douglas Brown
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

RE: cfset var1 = or EQ var2

2002-05-04 Thread Brian Scandale
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

RE: cfset var1 = or EQ var2

2002-05-04 Thread Matt Liotta
:[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

RE: cfset var1 = or EQ var2

2002-05-04 Thread Brian Scandale
: 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

Re: cfset var1 = or EQ var2

2002-05-04 Thread Justin Scott
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. Actually, you can use operators to set a variable to a

RE: cfset var1 = or EQ var2

2002-05-04 Thread Matt Liotta
-Talk Subject: Re: cfset var1 = or EQ var2 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. Actually, you

Re: cfset var1 = or EQ var2

2002-05-04 Thread Justin Scott
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.

Re: cfset var1 = or EQ var2

2002-05-04 Thread Brian Scandale
Justin, Matt, Ok, I get it now... Thanks for the heads up. At 12:08 AM 5/5/02 -0400, 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