>>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
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
>>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:
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
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,
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
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
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
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:
>
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
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
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:
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
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
~
[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
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
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
.
- 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
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
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
> >
>
> 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
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
> 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
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
- 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
25 matches
Mail list logo