1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-26 07:25:53 +00:00
QB64-PE/internal/help/IMP.txt
SMcNeill 6e01fc8dce Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0).
Added new _STRCMP and _STRICMP commands for quick string comparisons.
Cleaned up QB64 to finish removing the QUI (quick user insert) code and folders.
Altered UCASE and LCASE routines to be faster in some situations for us.
2014-09-22 08:19:03 -04:00

23 lines
578 B
Plaintext

The '''IMP''' logical operator converts the result of two comparative values and returns a bit result.
{{PageSyntax}}
::first_value {{KW|IMP}} second_value
{{PageDescription}}
* Returns a different result than {{KW|AND}}, {{KW|OR}} or {{KW|XOR}} would.
* Evaluates: first_value ''implies'' second_value.
::If first_value is True then second_value must also be True.
::So if first_value is True, and second_value False, then the condition is False, otherwise True (see table)
{{Template:LogicalTruthTable}}
{{PageSeeAlso}}
* [[Binary]]
* [[Boolean]]
{{PageNavigation}}