random

random

Description

Returns a random int value between 0 (inclusive) and the specified value (exclusive). This works for integers only.

Parameters

Return Type

Number

Example

number a = random(4); print("a= " + a);

Prints: a= 3;

See also

Peacock

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.