You are here: Symbol Reference > RndGenerators Namespace > Classes > TRandomGenerator Class > public > TRandomGenerator.Init Method
MtxVec VCL
ContentsIndex
PreviousUpNext
TRandomGenerator.Init Method

Initializes random generator.

Pascal
procedure Init(const aBasicRngType: TBasicRandomGenerator; const aSeed: integer);

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

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!