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

MULV

From Creatures Wiki
Jump to: navigation, search

MULV is a CAOS command for arithmetic.

Usage[edit]

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.

Examples[edit]

Multiplication on an imagined command line.

SETV va00 1.2
MULV va00 5
OUTV va00
    6.000000

See also[edit]