home *** CD-ROM | disk | FTP | other *** search
- * randmus.prg
- * emulate early 70's sci-fi movie image of computers!
-
- load \cbin\rand2
- load \cbin\beep
- set talk off
-
- pitch = 0
- dur = 0
- seed = val(substr(time(),7,2)) && second hand
- call rand2 with seed
-
- maxdur = 10
-
- @ 3,0 say "DO NOT FOLD, SPINDLE, OR MUTILATE"
-
- do while .t.
- call rand2 with pitch
- call rand2 with dur
- p = str(mod(pitch,11000),5) + " " + str(mod(dur,maxdur),3)
- @ 5,0 say p
- call beep with p
- enddo