Android Question Will this work for RndSeed?

Stichler

Active Member
Licensed User
Hi,

I'm using the following code to reseed the rndseed each time a button is clicked and random numbers are generated. Will this be effective in helping to keep duplicates from occuring?


Code: RndSeed(Rnd(1, 999999))
 

Stichler

Active Member
Licensed User
Im sorry i should clarify I noticed lots of repeats using just Rnd once I incorporated the code it seems to be far less so
 
Upvote 0

Stichler

Active Member
Licensed User
Yes without using rndseed. It could be because it was a close set of integers but i figured better safe than sorry
 
Upvote 0
Top