ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
381 B

  1. 100 rem RANDOM.BAS -- Test RANDOMIZE and RND
  2. 110 print "This is a first sequence of three RND numbers:"
  3. 120 randomize timer
  4. 130 print rnd
  5. 140 print rnd
  6. 150 print rnd
  7. 160 print "This is a second sequence of three RND numbers:"
  8. 170 randomize timer + 18
  9. 180 print rnd
  10. 190 print rnd
  11. 200 print rnd
  12. 210 print "The second sequence should have been differrent"
  13. 220 print "from the first."