On Sat, Dec 22, 2018 at 1:03 PM Franz Müller <[email protected]> wrote:

> But maybe there is an easy way to save the state of the random number 
> generator routine before sorting and to restore it when the sort is done?

Save RandSeed and restore it after you're done with your calls to Random.
-- 
Bart
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to