Re: what's with rand???


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

Re: what's with rand???



"S.K." <webking@worldnet.att.net> writes:


>Ed Pollack wrote:
>>
>>    I just noticed recently that when zshell is installed on my ti-85, the
>> rand function will not work, I get an overflow message if I try to use it.
>> Does anyone know why this happens???
>Hmm... I don't think Z-Shell would do anything to rand function.
>Try this
>rand->X
>disp X


It's probably because of the PlainJump game by Andreas Ess.  After a bit
of work, I found out that


1->rand


will fix it.  (You can replace the 1 with any number.  It's just a matter
of reinitializing the random number seed.)


-blackbob [jim@kd3bj.ampr.org]
-http://www.kd3bj.ampr.org/~jim/


References: