Rnd - Crestron SIMPL+ Reference Manual

Language reference guide
Hide thumbs Also See for SIMPL+:
Table of Contents

Advertisement

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
®

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIMPL+ and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF