Re: TIB: RandSeed


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

Re: TIB: RandSeed




GrafixxHQ schrieb:
>
> On the TI-92, what is the point of RandSeed?  What is the difference if you do
> Randseed 1147 rather than RandSeed 0?  THanxx For tHe hELP.
Randseed 0 resets the system-var seed to original values, Randseed x (x<>0) sets 
two bases seed1 and seed2 as bases for the random generator. Different x 
provides different values for the first usage of rand, that is using the same 
value you will always get the same sequence of random numbers( not very useful 
as there is no clock in the ti and counters can only be used from assembler...)	
	A.K.


References: