Negate a number: set positive a negative number, and vice versa.

Shortcut of ?x = -?x

This statement returns no value, it directly updates the given variable.

negate ?a
?avariable
Source?x = 10 print "1) ?x" negate ?x print "2) ?x" negate ?x print "3) ?x" Execution1) 10 2) -10 3) 10