<>

Typeoperator
DictionaryLCS
LibraryLiveCode Script
Syntax
<value1> <> <value2>
Synonymsis not
Summary

Compares two values and returns true if they are not equal, false if they are equal.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
value1

The operands value1 and value2 can be numbers, literal strings of characters (delimited with double quotes), or any sources of value. :

value2
Example
3 + 2 <> 6
"abc" <> "abd"
field "Old Password" <> field "Password"
RelatedOperator: contains, =, <, >
Glossary: property, operator, case-sensitive, value, return, string
Description

Use the <> (inequality) operator to compare two numbers or to compare two strings.

When comparing strings, the <> operator compares the two values character by character, using the ASCII value of each character. If the caseSensitive property is true, the comparison between two strings treats uppercase letters as coming before lowercase letters, so "A" <> "a". If the caseSensitive property is false, the comparison is not case-sensitive, so "a" is considered equivalent to "A".