no repetir numeros del 0 al 99
Hola!
A que te refieres con el AZAR?
Barajar/Shuffle es el azar NO?
Ocupas una lista de numeros de 0 al 99 y luego barajarla shuffle
y luego ir mostrando la lista uno a uno como quedo despues de ser barajado.
Podrias usar un simple vector/array y luego hacer un swap de los campos dependiendo del resultado del random function. (shuffle)
Delphi/ Free Pascal Syntax
https://stackoverflow.com/questions/36363326/random-shuffle-playlist
https://www.w3schools.blog/shuffle-array-delphi
https://www.freepascal.org/docs-html/rtl/system/random.html
"
The Free Pascal implementation of the Random routine uses a Mersenne Twister algorithm to simulate randomness. This implementation has a better statistical distribution than for example a Linear Congruential generator algorithm, but is considerably slower than the latter. If speed is an issue, then alternate random number generators should be considered.
Note that the fact that a Mersenne Twister is used is an implementation detail, which can be changed at any point. The only guarantee Random() offers is that setting randseed to particular value will result in the same sequence of random numbers in a particular version the RTL. A newer version of the RTL may result in a different sequence for the same randseed. "