Not Equal: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
''Example usage:'' IF x [[ | ''Example usage:'' IF x [[Not Equal|<>]] 320 THEN PRINT "Not in center of screen" | ||
Line 9: | Line 9: | ||
{{PageSeeAlso}} | |||
* [[Equal|=]] | * [[Equal|=]] | ||
* [[ | * [[Greater Than|>]] | ||
* [[ | * [[Less Than|<]] | ||
* [[Relational Operations]] | * [[Relational Operations]] | ||
{{PageNavigation}} | {{PageNavigation}} |
Latest revision as of 00:51, 29 January 2023
The <> condition symbol denotes that a value must not equal another value for the condition to be True.
Example usage: IF x <> 320 THEN PRINT "Not in center of screen"
- Statements will evaluate as True or -1 when two values are not equal or False or 0 when equal.
- More than one <> symbol in a numerical statement will create a Boolean evaluation of the ensuing numerical pairs.
See also