Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

what is NEQ?

Guest
Apr 15, 2010 Apr 15, 2010

Hello:),

     I came across this expression in a page on how to use cfdiv tag and was wondering what this ment and what is it doing?

Here it is in contex as it was used,

<cfoutput>
    <cfif isdefined("url.InputText") AND url.InputText NEQ "">
        #url.InputText#
    <cfelse>
        No input
    </cfif>
</cfoutput>

TOPICS
Getting started
3.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Valorous Hero , Apr 15, 2010 Apr 15, 2010

Not Equal

Translate
LEGEND ,
Apr 15, 2010 Apr 15, 2010

I googled "coldfusion neq", and the first, second and third results all had the answer you're after.  The third result is from the CF docs themselves (albeit the ones for CFMX v6.0).

So maybe that is a tactic to use for finding stuff out in future.  This time around... here's the relevant page of the current docs:

http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec09d55-7ffc.html#WSc3ff6d0ea77859461172e0811cbec09d55-7ff9

Which says, in short, this:

Operator

Description

IS

EQUAL

EQ

Perform a case-insensitive comparison of two values. Return True if the values are identical.

IS NOT

NOT EQUAL

NEQ

Opposite of IS. Perform a case-insensitive comparison of two values. Return True if the values are not identical.

HTH.

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 16, 2010 Apr 16, 2010

Hey Adam, is that Google thing something new?

Perhaps this will help: http://tinyurl.com/y688a68

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 16, 2010 Apr 16, 2010

Hey Adam, is that Google thing something new?

It's just something I've been working on in my spare time: it's kind of a document indexer thingey.  "Google" is just a code name whilst I develop it, when it's released, I'm going to call it "Search Engine".

I only have time to work on it in those few moments I have between copying&pasting URLs to the CF docs for people here.  Progress is - accordingly - rather slow.

😉

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Apr 15, 2010 Apr 15, 2010

Not Equal

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Apr 19, 2010 Apr 19, 2010

Just to let some people know.

The only reason that my post did not contain links to the documenation and|or google searches, was that Adam beat me to the punch.

Thanks to his seven or eight hour advantage on me, he often gets to these posts before I can!  I suspect he is trying to win whatever award one gets for earning all the points!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 19, 2010 Apr 19, 2010

Just to let some people know.

The only reason that my post did not contain links to the documenation and|or google searches, was that Adam beat me to the punch.

Thanks to his seven or eight hour advantage on me, he often gets to these posts before I can!  I suspect he is trying to win whatever award one gets for earning all the points!

Heh.  Because - like - you're short of points, Ian.  You're the teacher's bloody pet, mate!

I do actually sometimes question WhyTF I bother trying to help people here.  This thread being one of those times.

Anyhow... just started a new job in which I am closer to the bottom of the ladder than the top (that's a bit of a rude awakening!), so I shan't be responding quite so much here as I usually do, as they seem to have an expectation of me doing some work (cheeky buggers).  So I should be getting less in the way of you and your points from now on 😉

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 19, 2010 Apr 19, 2010

Cuz those answer points are like GOLD!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 19, 2010 Apr 19, 2010

Regarding:

The only reason that my post did not contain links to  the documenation and|or google searches, was that Adam beat me to the  punch.

For me, that would be sufficient motivation to not answer at all.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Apr 20, 2010 Apr 20, 2010

Dan Bracuk wrote:

For me, that would be sufficient motivation to not answer at all

Adam's response wasn't posted when I started to answer.  But his arrived while I was getting the URL's for mine..

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 16, 2010 Apr 16, 2010

Forget it, Adam, it will never catch on.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 16, 2010 Apr 16, 2010

Well sorry for waisting your time m8!, I just thought that Discussions in Getting Started was a good place to ask newbie questions after running a search in the livedocs a place that specializes in cf related questions and not getting much help back "http://community.adobe.com/help/search.html?l=coldfusion_product_adobelr&requiredfields=book:Adobe%2520ColdFusion%25208&self=1&q=neq" I decided to ask in a place I thought I would get a quick and direct answer back... I will google all my newbie questions from now on, and once again sorry to be a bother.

And don't think im not greatfull for your answer cause I am, I spent hours searching google for other questions and I only have a few hours per day to work on my project and learn cfml/html/css/sql and I know thats not your problem so sorry if I come across as a a**h*** looking for a quick fix.

ps. thanks Ian Skinner your a star.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 16, 2010 Apr 16, 2010

Don't sweat it. We are just having some fun.

I have to say though, that I have not purchased a CF book in years. I just google whatever it is that I need and I come up with the answer

in short order.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 16, 2010 Apr 16, 2010

No problem m8

I'm sure its lots of fun calling randoms fool's and nincompoop's. And ok ok! I get it. GOOGLE GOOGLE GOOGLE! thank you, very much.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 16, 2010 Apr 16, 2010

Well sorry for waisting your time m8!,

Don't get arsey.  We're just amusing ourselves: it's Friday!

if I come across as a a**h*** looking for a quick fix.

Well, seriously... if you're after a quick fix, learning what the resources are to help yourself are - in the long run - gonna be far more beneficial than someone just blurting out the answer to you.  Which is the reason I pointed you to the resources to find out the answer as well as telling you what the answer was.

ps. thanks Ian Skinner your a star.

Fine.  Don't mind me.

😉

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 19, 2010 Apr 19, 2010

*yawns*

Don't get arsey. We're just amusing ourselves: it's Friday!

well let this serve as a warning to all newbies! "we like to make fun of you! with no consideration for your feelings!" I mean why bother using PM's to poke fun, hell it's Friday...

Well, seriously... if you're after a quick fix, learning what the resources are to help yourself are - in the long run - gonna be far more beneficial than someone just blurting out the answer to you. Which is the reason I pointed you to the resources to find out the answer as well as telling you what the answer was.

*where's my halo arr there it it* I'm such a good boy doing this out of the goodness of my heart, I never whine when I think things are beneath my VAST AND GREAT talents

Fine. Don't mind me.

No, Don't mind me m8, you carry on "amusing" your selves and I'll try not to get "arsey"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 19, 2010 Apr 19, 2010

well let this serve as a warning to all newbies! "we like to make fun of you! with no consideration for your feelings!" I mean why bother using PM's to poke fun, hell it's Friday...our selves and I'll try not to get "arsey"

Oh for goodness sake.  Stop being so precious.

If you were honest with yourself, do you not think that my initial advice was:

a) accurate;

b) sensible;

c) - when considering the sentiment of "you perhaps could have worked this out for yourself" - called for?

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 19, 2010 Apr 19, 2010

<CFSET YourSensitivity = '1000'>

<CFIF #YourSensitivity# GT 5>

     Internet = bad for you

</CFIF>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 20, 2010 Apr 20, 2010

Adam Cameron. wrote:

well let this serve as a warning to all newbies! "we like to make fun of you! with no consideration for your feelings!" I mean why bother using PM's to poke fun, hell it's Friday...our selves and I'll try not to get "arsey"

Oh for goodness sake.  Stop being so precious.

If you were honest with yourself, do you not think that my initial advice was:

a) accurate;

b) sensible;

c) - when considering the sentiment of "you perhaps could have worked this out for yourself" - called for?

--

Adam

Fair enough m8 but you know that's not the topic here. Me being "Sensitivity = '1000'" I detected a hint of resentment in your post and after reading Ian's post I thought "wicked! ten points" and that upset you enough to wanna poke fun at me.

Fact is your only doing this for the EGO boost, and heres something to laugh at, you even think your better than your friends here!

So sorry m8. maybe I should have given you those 10 points, But what's done is done.

And all you can do now is

a) Be the big guy, apologise and BOOST THAT EGO!!!

b) Reply with some more rants, justifying your self and BOOST THAT EGO!!!

or

c) "and this if my favourite option :)." shut the hell up and ignore this post.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 21, 2010 Apr 21, 2010


It's interesting that you dwell on the ego side of things.  It seems to me that the only person making (bruised ~) ego-relevant postings here is you.

But anyway... you keep digging.

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 22, 2010 Apr 22, 2010

Need a tissue, Adam?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 22, 2010 Apr 22, 2010
LATEST

Yikes.

There's a coupla ways one could take that.  One a bit more grim than the other.

Fortunately... no... for no reason I can think of... do I need a tissue.

Thanks... err... for asking though...


[shudder]

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources