5 Sep
1999
5 Sep
'99
2:22 a.m.
Ian Thurlbeck wrote:
Could anyone tell me how to seed the random number generator ?
I can do:
Randomize; writeln(Random);
but I want something like:
RandSeed(67); // SeedRandom ?? writeln(Random);
This question comes exactly at the right time. :-) The latest snapshot, released last Friday (19990813) contains a SeddRandom procedure in the GPC unit. With earlier versions, you're out of luck... Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
9843
Age (days ago)
9843
Last active (days ago)
0 comments
1 participants
participants (1)
-
Frank Heckenbach