1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00
QB64-PE/internal/help/CASE_IS.txt
2017-10-10 11:55:21 -03:00

27 lines
871 B
Plaintext

#REDIRECT [[SELECT CASE#allCASES]]
[[CASE IS]] can be used in a [[SELECT CASE]] routine where you need to use relational conditional expressions.
{{PageSyntax}}
: [[CASE IS]] '''{=|<|>|<=|>=|<>|[[NOT]]} {{Parameter|expression}}'''
{{PageDescription}}
* [[AND (boolean)|AND]] can be used to add extra conditions to a [[CASE IS]] statement evaluation.
* [[OR (boolean)|OR]] can be used to add alternate conditions to a [[CASE IS]] statement evaluation.
* Parenthesis are allowed in [[CASE IS]] statements to clarify an evaluation.
* [[CASE IS]] > 100 uses the greater than expression.
* [[CASE IS]] <= 100 uses the less than or equal to expression.
* [[CASE IS]] <> 100 uses the not equal to expression(same as [[NOT]] 100).
{{Template:RelationalTable}}
{{PageSeeAlso}}
* [[CASE]], [[CASE ELSE]]
* [[SELECT CASE]]
{{PageNavigation}}