[Coco] seeding the random number generator
Rogelio Perea
os9dude at gmail.com
Wed May 21 11:39:15 EDT 2014
On Wed, May 21 2014, John Mark Mobley wrote:
How do i seed the random number generator in Disk Extended Color BASIC
> (DECB)
>
Enter a X=RND(-TIMER) statement early on the program. Using the timer
function will allow the seed to be a bit more open to a wider array of
seeds to set in the random number generation. The 'X' variable is there
just to have the RND reseed happening.
-- RP
More information about the Coco
mailing list