home *** CD-ROM | disk | FTP | other *** search
- start:
-
- rem This program generates a smiley-face and the word CORRECT! on the screen.
- rem It can be used to reward correct answers in a batch file, or as a subroutine
- rem in a larger .COM file.
-
- locate 81,81
-
- again:
-
- for b=1 to 10
- for a=1 to 300
- sound a,1
- next a
- next b
-
- width 40
- locate 12,18
- a$=chr$(2)
- print a$
- locate 14,14
- print "CORRECT!!!"
- locate 81,81
- for delay=1 to 6
- for delayagn=1 to 32000
- next delayagn
- next delay
- width 80
-
- finish:
- end
-