NEGV is a CAOS command for arithmetic.


Syntax: NEGV var (variable)

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

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


This is equivalent to NEGV va00.

SETV va01 0
SUBV va01 va00
SETV va00 va01
Editnorn This article about a CAOS command or function needs further examples.

See also

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.