MULV

From Creatures Wiki

Jump to: navigation, search

MULV is a CAOS command for arithmetic.

[edit] Usage

Syntax: MULV var (variable) x (int or float)

Multiplies var by x, so var = var * x. If either is a float, so will be the result, whether or not it is necessary.

[edit] Example

Multiplication on an imagined command line.

SETV va00 1.2
MULV va00 5
OUTV va00
    6.000000

[edit] See also

Personal tools