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

Random Statement



I use this, why won't it work...???

10 let a = Rnd(1)*170
20 if a <20 then goto (somewhere)
30 if a >150 then goto (somewhere else)

howcome sometimes in the middle of the program the number from the random 
statement is under 20 and over 150.  A rnd(20)*150 isn't correct...  I'm 
stuck,please help...?