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/-_-.txt
Roland Heyder aeb9c0668b Updates help files for use with new Wiki parser (2nd try)
Note: Many files were removed (not yet existing/empty pages). The parser will try to download them on demand and will auto-generate text for missing pages (eg. most _gl pages).
2022-05-21 00:18:31 +02:00

31 lines
752 B
Plaintext

{{QBDLDATE:05-20-2022}}
{{QBDLTIME:23:24:52}}
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}}