Menu

#15 Specify seed for random

open
nobody
None
5
2009-04-29
2009-04-29
Anonymous
No

Adding another parameter to the random(x) function (or another function seedrandom(x,y)) where you can specify the seed used to generate the random number... so that random(5,1053908) would give a random number up to 5 and would always be equal to another random(5,1053908)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.