[Coco] DECB & OS-9 Game Released

tim lindner tlindner at ix.netcom.com
Thu Aug 12 00:33:40 EDT 2004


Robert Gault <robert.gault at worldnet.att.net> wrote:

>   The usual method is to give the RND seed a more or less random number
> with an initial RND(TIMER). It is very unlikely that the program can be
> started with TIMER returning exactly the same number.

Having BASIC calculate a random number using TIMER does increase it's
randomness. But to re-seed the random number generator you need to pass
a negative number:

RND(-TIMER)

This will produce a little more randomness.

-- 
tim lindner
tlindner at ix.netcom.com



More information about the Coco mailing list