random

Category

Mathematical commands

Syntax

random(A,B,vC);

Description

The value of vC is set to a random number between A and B. If A is greater than B, then the number chosen is in the 0-255 range.

See also