RandomNumberGenerator methods syntax

From m204wiki
Revision as of 19:13, 5 February 2011 by Wiccan (talk | contribs) (Automatically generated page update)
Jump to navigation Jump to search

The syntax for each of the RandomNumberGenerator class methods is shown below.

Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of RandomNumberGenerator methods.

%outRandomNumberGenerator = randomNumberGenerator:Copy

%outRandomNumberGenerator = randomNumberGenerator:DeepCopy

%randomNumberGenerator = %(RandomNumberGenerator):New[( [Seed= string], - [Salt= string])]

randomNumberGenerator:UpdateSeed[( [Seed= string], [Salt= string])]

%number = randomNumberGenerator:Value[( [min], [max])]