Math387.SetRandSeed Method

void SetRandSeed(Int32 aSeed)

Seeds the global random generator, discarding any cached engine.

#NameTypeDescription
1aSeedInt32

Result: stored in self (calling object)

Remarks:

Mirrors assigning the Delphi RTL RandSeed, which reseeds on every assignment; the CLR generator caches its engine, so the cache has to be dropped for a repeated seed value to restart the sequence.