Welcome to the Creatures Wiki! Log in and join the community.

Difference between revisions of "SUBV"

From Creatures Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<b>SUBV</b> is a [[CAOS]] command used to perform subtraction.
+
<b>SUBV</b> is a [[CAOS]] command used to subtract [[variable]]s.
  
 
==Usage==
 
==Usage==
Line 8: Line 8:
  
 
==Examples==
 
==Examples==
<i>SUBV</i> being used decrement a variable:
+
<i>SUBV</i> being used to decrease a variable:
 
<pre>
 
<pre>
 
SUBV va02 1
 
SUBV va02 1

Revision as of 06:41, 21 September 2005

SUBV is a CAOS command used to subtract variables.

Usage

Syntax: SUBV X(int or float variable) Y(int or float)

Standalone command.
Subtracts Y from X.

Examples

SUBV being used to decrease a variable:

SUBV va02 1

See also