- (Negation)
 
Syntax

- number

Description

The negation operator is used to give the negative value of number. number can be any valid numerical expression.
Example


PRINT -5
n = 6543256
n = - n
PRINT n
SLEEP


The output would look like:
-5
-6543256


Differences from other BASICs

See also