EasyManua.ls Logo

Crestron SIMPL+ - Rnd

Crestron SIMPL+
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Software Crestron SIMPL+
®
212 z SIMPL+
®
Language Reference Guide - DOC. 5797G
Rnd
Name:
Rnd
Syntax:
INTEGER Rnd();
Description:
Generate a random number. Refer to “Seed” on page 213 and “Random” 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

Table of Contents