page-1983-101-timex-sinclair-programming-tricks
page-1983-101-timex-sinclair-programming-tricks
page-1983-101-timex-sinclair-programming-tricks
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Random Numbers:Distr~butionEver wonder how "random" are the numbersgenerated the random-number generator in yourTIMEX when you use the RND instruction? Try this program.It generates 100 random numbers in a range fromzero to four and counts how many there are of eachnumber between zero and four.By the way, while it is doing that it will display themessage "counting" so you can tell it is worl