Re-seeding a pseudo random number generator every time you call it is a bad idea. The 
whole idea of such a generator is to produce a sequence containing all the possible 
values in a given range, in a suitable order before repeating. Just use the clock to 
seed it once, then use it without re-seeding from then on. If I recall, you pass zero 
to SysRandom() to allow it to continue to use its existing seed.
--
Peter Epstein
Palm Inc. Developer


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to