what is NEQ?


hello:),

     came across expression in page on how use cfdiv tag , wondering ment , doing?

here in contex used,

 

<cfoutput>
    <cfif isdefined("url.inputtext") , url.inputtext neq "">
        #url.inputtext#
    <cfelse>
        no input
    </cfif>
</cfoutput>

i googled "coldfusion neq", , first, second , third results had answer you're after.  third result cf docs (albeit ones cfmx v6.0).

 

so maybe tactic use finding stuff out in future.  time around... here's relevant page of 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 case-insensitive comparison of 2 values. return true if values identical.

is not

not equal

neq

opposite of is. perform case-insensitive comparison of 2 values. return true if values not identical.

 

hth.

 

--

adam



More discussions in Getting Started


adobe

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO