View Single Post
Old Mar 1st, 2008, 11:18 AM   #5
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
Re: Patterned returns with Math.random()

Usually random() functions can accept seeds (C#, C++ support this, I assume Java does this too), different seeds give different random lists. If you seed the function with Time, you will get a truly random list.
OpenLoop is offline   Reply With Quote