> From: Stephen Bentley
> a quiz application.  What I'm doing is taking TimGetTicks as the seed for
> SysRandom,
> using that to randomly pull a record and set an ORDER field.  I increment
> the value for
> the ORDER field and do this all over again, hoping to randomly fill my
> records with
> an incrementing number.  I then call DmQuickSort sorting on that ORDER
> value.
>

Are you re-seeding each time you call SysRandom?  You only need to seed it
once, then use SysRandom(0) each time after that.


-- 
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