Siebel eScript Language Reference > C Language Library Reference > Clib Mathematical Methods >

Clib Initialize Random Number Generator Method


The Clib Initialize Random Number Generator method initializes a random number generator.

Format

Clib.srand(seed)

Table 173 describes the arguments for the Clib Initialize Random Number Generator method.

Table 173. Arguments for the Clib Initialize Random Number Generator Method
Argument
Description

seed

The number that the random number generator uses as a starting point.

If you do not specify the seed argument, then this method uses a random number that is specific to the operating system.

Related Topics

For more information, see the following topics:

Siebel eScript Language Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.