On Mar 3, 2007, at 9:15 AM, Robert Woodhead wrote:
> Random.Seed is a double, not an integer as the documentation would
> have you believe:
>
> http://www.realsoftware.com/feedback/viewreport.php?reportid=sjguzxud
Good call on the workaround.
>
> Once set, Random.Seed never changes, even as you generate random
> numbers. So you can't easily restart a random number sequence in the
> middle of a set of calls. This is contrary to every other
> implementation of random number generation I've seen in the last,
> oh, 30 years.
>
> http://www.realsoftware.com/feedback/viewreport.php?reportid=kspotawy
Given that one can create Random objects, this doesn't seem so
unreasonable, except that the interface is wrong. I'd think that
Random should have a constructor that takes a seed parameter, and
make Seed a read-only property.
------------------------
Charles Yeomans
http://www.declareSub.com/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>