[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple II Random Events?



I wrote:

> How does an Apple II, say using the BASIC RND command, determine a
> random number?
> ...

David Wilson wrote:

> The RND() function returns a pseudo random sequence.
> 
> If you know the previous number returned you can determine the next
> one. You can seed the sequence by passing a negative number to RND().
> 
> I assume that the first number generated after power up (provided you
> do not seed it first) is either fixed or depends on the power up
> contents of a particular memory location (or two).

I write:

Thanks for the information.