Your code was somewhat confusing, it was hard to tell what was going on since the upper and lower kept flip-flopping (try to keep mins and max's seperate). This is *almost* the same code you submitted, just cleaned up a bit more. Remember that you want to initialize to the first value that comes out of the random number generator, since that will give you a real minimum since the generator may never reach the initialized minimum that you set (which in your case was zero, I doubt the generator will ever return true zero).
-Danny
Message Edited by texasdiaz on 09-26-2005 02:44 PM