Software
®
212
SIMPL+
Rnd
Name:
Rnd
Syntax:
INTEGER Rnd();
Description:
Generate a random number. Refer to "Seed" on
page
211.
Parameters:
None.
Return Value:
An INTEGER from 0 to 65535.
Example:
INTEGER NUM;
FUNCTION MAIN()
{
NUM = RND();
PRINT("The random number is: %d\n", NUM);
}
Version:
SIMPL+ Version 1.00
Crestron SIMPL+
page 213
and "Random" on
Language Reference Guide - DOC. 5797G
®
Need help?
Do you have a question about the SIMPL+ and is the answer not in the manual?
Questions and answers