mardi 16 août 2022

How to generate the same random sequence from a given seed in Delphi

I am wanting to generate the same random sequence (of numbers or characters) based on a given "seed" value.

Using the standard Randomize function does not seem to have such an option.

For example in C# you can initialize the Random function with a seed value (Random seed c#).

How can I achieve something similar in Delphi?




Aucun commentaire:

Enregistrer un commentaire