Math387.SetRandSeed Method

procedure SetRandSeed(aSeed: Integer);

Seeds the global random generator, discarding any cached engine.

#NameTypeDescription
1aSeedInteger

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.