2022-07-31 21:57:56 +00:00
|
|
|
{{QBDLDATE:07-31-2022}}
|
|
|
|
{{QBDLTIME:23:54:11}}
|
2022-05-20 22:18:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
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:''
|
|
|
|
|
|
|
|
* [[Not_Equal|<>]]
|
|
|
|
* [[Greater_Than|>]]
|
|
|
|
* [[Less_Than|<]]
|
|
|
|
* [[Relational Operations]]
|
|
|
|
|
|
|
|
|
|
|
|
{{PageNavigation}}
|
|
|
|
|
|
|
|
Template used on this page:
|
|
|
|
|
|
|
|
Template:PageNavigation (view source)
|
|
|
|
Return to Equal.
|
|
|
|
|
|
|
|
Navigation menu
|
|
|
|
Log inPageDiscussionReadView sourceView historySearch
|
|
|
|
Search QB64 Wiki
|
|
|
|
Main page
|
|
|
|
Recent changes
|
|
|
|
Random page
|
|
|
|
Help about MediaWiki
|
|
|
|
Tools
|
|
|
|
What links here
|
|
|
|
Related changes
|
|
|
|
Special pages
|
|
|
|
Page information
|
|
|
|
Privacy policyAbout QB64 WikiDisclaimersPowered by MediaWiki
|