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 |
||
Line 1: | Line 1: | ||
View source for Equal | View source for Equal | ||
Line 9: | Line 10: | ||
You can view and copy the source of this page. | You can view and copy the source of this page. | ||
The '''=''' condition symbol denotes that a value must equal another value for the condition to be True. | The '''=''' condition symbol denotes that a value must equal another value for the condition to be True. | ||
Line 15: | Line 16: | ||
* Statements will evaluate as True or -1 when two values are equal or False or 0 when not equal. | * Statements will evaluate as True or -1 when two values are equal or False or 0 when not equal. | ||
* More than one = symbol in a numerical statement will create a [[Boolean]] evaluation of the ensuing numerical pairs. | * More than one = symbol in a numerical statement will create a [[Boolean]] evaluation of the ensuing numerical pairs. | ||
:: A = B = C will be converted to A = (B = C) so if B = C then A = -1. If not, then A = 0 | :: A = B = C will be converted to A = (B = C) so if B = C then A = -1. If not, then A = 0 |
Revision as of 01:36, 23 January 2023
View source for Equal
← Equal
Jump to navigationJump to search
You do not have permission to edit this page, for the following reason:
The action you have requested is limited to users in the group: Users.
You can view and copy the source of this page.
The = condition symbol denotes that a value must equal another value for the condition to be True.
Example usage: IF x = 320 THEN PRINT "Center of screen"
- Statements will evaluate as True or -1 when two values are equal or False or 0 when not equal.
- More than one = symbol in a numerical statement will create a Boolean evaluation of the ensuing numerical pairs.
- A = B = C will be converted to A = (B = C) so if B = C then A = -1. If not, then A = 0
See also: