TRandomGenerator.Init Method

void Init(TBasicRandomGenerator aBasicRngType, Int32 aSeed)

Initializes random generator.

#NameTypeDescription
1aBasicRngTypeTBasicRandomGenerator
2aSeedInt32

Result: stored in self (calling object)

Remarks:

Initializes random generator by specifying the basic random generator and a seed for the generator. Typical value for aSeed is 1.