mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-16 16:44:05 +00:00
6e01fc8dce
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.
27 lines
No EOL
704 B
Text
27 lines
No EOL
704 B
Text
The '''-''' mathematical operator performs subtraction on two numerical values or [[negation|negates]] a single value.
|
|
|
|
|
|
|
|
''Syntax:'' return_value = number1 - number2
|
|
|
|
|
|
|
|
{{PageDescription}}
|
|
|
|
* Numbers used can be any literal or variable numerical value type.
|
|
* Subtracting a negative value will actually perform addition with the other value.
|
|
* Subtracting a negative or [[negation|negated]] value will make the return value more positive.
|
|
* Addition and subtraction are the last operations performed in Qbasic's normal order of operations.
|
|
* Subtraction cannot be performed on [[STRING]] values.
|
|
|
|
|
|
|
|
''See also:''
|
|
|
|
[[+|+ positive]] (addition operator)
|
|
|
|
[[Mathematical Operations]]
|
|
|
|
|
|
|
|
{{PageNavigation}} |