Re: EQ vs IS

2007-02-01 Thread Claude Schneegans
>>Syntactically correct Ooops sorry, I used the French word ;-) ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456

Re: EQ vs IS

2007-02-01 Thread Doug Brown
It would even be more Syntactically correct :-p Doug B. - Original Message - From: "Claude Schneegans" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Thursday, February 01, 2007 7:39 PM Subject: Re: EQ vs IS > >>I use "is" for numeric compari

Re: EQ vs IS

2007-02-01 Thread Claude Schneegans
>>I use "is" for numeric comparisons and "eq" for all others. How about IS EQ ? That would be more correct syntaxically ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address:

RE: EQ vs IS

2007-01-31 Thread Bobby Hartsfield
LOL! -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 31, 2007 11:14 AM To: CF-Talk Subject: RE: EQ vs IS I try and use both, just to be sure do something very important -Original Message- From: Charlie Griefer [mailto

RE: EQ vs IS

2007-01-31 Thread Bobby Hartsfield
Seriously... your code is going to implode doing that... ;-) -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 31, 2007 11:12 AM To: CF-Talk Subject: Re: EQ vs IS On 1/31/07, Rick Root <[EMAIL PROTECTED]> wrote: > I must be backwards,

Re: EQ vs IS

2007-01-31 Thread Mike Kear
It's my recollection of about a decade ago when I was but a beginner at ColdFusion, that i think Ben's CFWACK said exactly that. I remember having been a bit confused about when to use "eq" and when to use "is" when I read in Ben's book that they were the same, and it was a "EUREKA!" moment for m

RE: EQ vs IS

2007-01-31 Thread Russ
In SQL you have to use IS NULL, but CF has no concept of NULL, AFAIK. Russ > -Original Message- > From: Dave Francis [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 31, 2007 10:04 AM > To: CF-Talk > Subject: RE: EQ vs IS > > It's all a bit hazy, but I

Re: EQ vs IS

2007-01-31 Thread Damien McKenna
On 1/30/07 8:22 PM, Russ wrote: > I always use eq, I always use ==. Oh, maybe that's why it doesn't work I'm honestly surprised more books (inc the beginning training materials) don't explicitly state that "eq" and "is" are the same, just to help save people having a "doh" moment later on and f

RE: EQ vs IS

2007-01-31 Thread Peterson, Chris
I try and use both, just to be sure do something very important -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 31, 2007 11:12 AM To: CF-Talk Subject: Re: EQ vs IS On 1/31/07, Rick Root <[EMAIL PROTECTED]> wrote: >

Re: EQ vs IS

2007-01-31 Thread Charlie Griefer
On 1/31/07, Rick Root <[EMAIL PROTECTED]> wrote: > I must be backwards, because I use "is" for numeric comparisons and "eq" for > all others. dude that's just wrong. :) -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thou

RE: EQ vs IS

2007-01-31 Thread Dave Francis
It's all a bit hazy, but I seem to remember having to use IS NULL because EQ NULL returned false results. -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 30, 2007 8:38 PM To: CF-Talk Subject: RE: EQ vs IS They are the same. Some people li

Re: EQ vs IS

2007-01-31 Thread Rick Root
I must be backwards, because I use "is" for numeric comparisons and "eq" for all others. Usually. =) Rick ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http:

RE: EQ vs IS

2007-01-30 Thread Andrew Scott
2007 1:23 PM To: CF-Talk Subject: Re: EQ vs IS I always use "=" then swear when i get the error message and change it to "EQ" Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET

Re: EQ vs IS

2007-01-30 Thread Mike Kear
I always use "=" then swear when i get the error message and change it to "EQ" Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month ~

RE: EQ vs IS

2007-01-30 Thread Bobby Hartsfield
[mailto:[EMAIL PROTECTED] Sent: Tuesday, January 30, 2007 7:24 PM To: CF-Talk Subject: EQ vs IS If this has been through the ringer already, forgive me. Just give me the verdict. No reason to rehash anything. On MX 7 My old supervisor told me that "EQ" was better to use than

Re: EQ vs IS

2007-01-30 Thread Matt Robertson
way back when you could use functions for faster performance than EQ or IS. http://www.fusionauthority.com/alert/index.cfm?alertid=5#Tech2 I do not believe the above is still true in the Post-MX world but I still do it out of habit. compareNoCase for strings and compare for numerics and case-sen

RE: EQ vs IS

2007-01-30 Thread Russ
I always use eq, but if you want to rewrite the code for consistency's sake, a quick search/replace in cfeclipse should do it. Russ > -Original Message- > From: Doug Brown [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 30, 2007 8:06 PM > To: CF-Talk > S

Re: EQ vs IS

2007-01-30 Thread Doug Brown
. - Original Message - From: "Charlie Griefer" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Tuesday, January 30, 2007 5:27 PM Subject: Re: EQ vs IS > they're the same. both are comparison operators and since CF is a > typeless language, at the CF level it doesn&#x

Re: EQ vs IS

2007-01-30 Thread Charlie Griefer
they're the same. both are comparison operators and since CF is a typeless language, at the CF level it doesn't matter which you use. i do use IS for comparing strings and EQ for anything else, but that's just a matter of preference and has nothing to do with performance. On 1/30/07, David Gardn

EQ vs IS

2007-01-30 Thread David Gardner
If this has been through the ringer already, forgive me. Just give me the verdict. No reason to rehash anything. On MX 7 My old supervisor told me that "EQ" was better to use than "IS" when comparing things. His info is usually based on fact, so I've taken that as rote. I've done some tes

RE: EQ vs IS (was:Re: [OT] ShittyCode.Com (Launched new site last night, feedback please!))

2003-09-11 Thread Dave Watts
> > > > This is "greater than" - I think you mean: > > Thanks for catching my typo! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffu

Re: EQ vs IS (was:Re: [OT] ShittyCode.Com (Launched new site last night, feedback please!))

2003-09-10 Thread Sean A Corfield
On Wednesday, Sep 10, 2003, at 14:07 US/Pacific, Dave Watts wrote: > In earlier versions of CF (and in CFMX for all I know), all of > these are acceptable ways to perform a "greater than or equal to" test: > > This is "greater than" - I think you mean: > > (I doubt this last one is s

RE: EQ vs IS (was:Re: [OT] ShittyCode.Com (Launched new site last night, feedback please!))

2003-09-10 Thread Dave Watts
> if they are the same, why do we have both, maybe because you > cant use > > 1 is 2 > or can you? You can use either in any case when you want to test equality. As for why we have both, who knows? There are multiple ways to perform other tests in CF as well. In earlier versions of CF (and in CF

RE: EQ vs IS (was:Re: [OT] ShittyCode.Com (Launched new site last night, feedback please!))

2003-09-10 Thread Tony Weeg
arlie Griefer [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 4:30 PM To: CF-Talk Subject: EQ vs IS (was:Re: [OT] ShittyCode.Com (Launched new site last night, feedback please!)) - Original Message - From: "Tony Weeg" <[EMAIL PROTECTED]> To: "CF-Talk

EQ vs IS (was:Re: [OT] ShittyCode.Com (Launched new site last night, feedback please!))

2003-09-10 Thread Charlie Griefer
- Original Message - From: "Tony Weeg" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, September 10, 2003 12:22 PM Subject: RE: [OT] ShittyCode.Com (Launched new site last night, feedback please!) > oh ok cool. > just thought that eq did numbers > and is did string