
Copy link to clipboard
Copied
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>
1 Correct answer
Not Equal
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Hey Adam, is that Google thing something new?
Perhaps this will help: http://tinyurl.com/y688a68
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Not Equal
Copy link to clipboard
Copied
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!
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Cuz those answer points are like GOLD!
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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..
Copy link to clipboard
Copied
Forget it, Adam, it will never catch on.

Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.

Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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

Copy link to clipboard
Copied
*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"
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
<CFSET YourSensitivity = '1000'>
<CFIF #YourSensitivity# GT 5>
Internet = bad for you
</CFIF>

Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Need a tissue, Adam?
Copy link to clipboard
Copied
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

