MULV

From Creatures Wikia

Jump to: navigation, search

MULV is a CAOS command for arithmetic.

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.

Example

Multiplication on an imagined command line.

SETV va00 1.2
MULV va00 5
OUTV va00
    6.000000

See also

Personal tools