From: matz@... (Yukihiro Matsumoto) Date: 2003-07-30T03:22:22+09:00 Subject: Re: Generating random numbers? Hi, In message "Re: Generating random numbers?" on 03/07/30, "Orion Hunter" writes: |My problem is that I am getting the same "random number" repeated in |sequence. For example, my code looks something like this | |100.times{ | rand = Kernel.rand( 50 ) | ... #do something with the random number |} | |And I end up getting a sequence of random numbers like this: |5,5,5,5,5,5,5,5,89,89,89,89,89,2,2,2,78,78,78,78,44,44,44,44,44... etc No one can answer for you unless you reveal "something with the random number". This is the first report of such randomness problem. I suspect a bug in your code. matz.