From: matz@... (Yukihiro Matsumoto) Date: 2003-07-30T04:40:43+09:00 Subject: Re: Generating random numbers? Hello, In message "Re: Generating random numbers?" on 03/07/30, "Orion Hunter" writes: |I managed to figure out the problem though. I was using Kernel.srand( |Time.now.usec ) in a function that was executed previous to the one where I |was having a problem. Why this would result in duplicate sequential values, |I'm not sure. All I know is by taking srand out of a completely different |function, it fixed the problem. You don't need to call srand unless you want to reproduce random number sequence. Besides, using time fraction as a random seed is generally a bad idea. matz.