ne Relational Operator

The ne relational operator represents a not equal to condition within relational expressions.

Syntax

exp ne exp

Synonym(s)

#

><

<>

Example(s)

if ans ne "y" then print "Not equal to Yes" else print "Yes"

See Also

# Relational Operator

<> Relational Operator

>< Relational Operator

not() Function

Relational Operators