NEGV

NEGV is a CAOS command for arithmetic.

Usage
Syntax: NEGV var (variable)

Changes the sign on the variable, so. var must be int or float.

If you want to make a variable negative, use ABSV first.

Examples
This is equivalent to NEGV va00. SETV va01 0 SUBV va01 va00 SETV va00 va01