On Sat, Dec 22, 2018 at 1:03 PM Franz Müller <b...@gmx.at> 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 - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel