Purpose
Subtracts two numbers or negates the value of a number.
Subtraction syntax
Number1 - Number2
Subtraction example
Sub Main()
Print "10 minus 4 is:", 10 - 4
End Sub
Negation syntax
-Number
Negation example
Sub Main()
Print "negated 99 is:", -99
Print "negated -99 is:", -(-99)
End Sub
|