procedure Randomize(Seed: Pointer; Count: integer); overload;

procedure Randomize(const Seed: TBytes; const Offset, Count: Integer); overload; virtual;

procedure Randomize(const Seed: TBytes); overload;

procedure Randomize(const Seed: string); overload;

procedure Randomize(Seed: TStream); overload;

procedure Randomize; overload;

 

Description

Use the Randomize method to set a sequence of numbers, that will be used to generate a random-number sequence.

 

If Randomize without parameters is called, Seed based on the system timer readout is used.

 

Parameters:

Seed - the number sequence that is used for calculation of the starting value for a pseudo-random number sequence;
Offset - zero-based byte offset in Seed, that points to the beginning of the data location;
Count - data length.

 

SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support