home *** CD-ROM | disk | FTP | other *** search
- * Sample cbt program for Doctor Woody
- cls
- display 1,1,'Hello Doctor Woody!',rev
- display 2,1,'This is the sample CBT program that Mike promised you'
- display 3,1,'The program will ask you a couple of questions'
- display 4,1,'and then show you what you typed in'
- display 5,1,'Press <ENTER> when you are ready.'
- inkey @1
- cls
- display 1,1,'Hello to Doctor Woody!!!'
- display 2,1,'How are you doing today >> '
- erase @1
- input 2,28,15,@1
- display 4,1,'How many fingers am I holding up? '
- input 4,40,10,@2
- cls
- display "Hi again Dr. Woody, I'm glad to hear that you're "
- display @1
- display 3,1,'You are ' | display 'absolutly',rev
- display ' correct. I am holding up ' | display @2 | display ' fingers.'
- display 5,1,'Press enter to continue ' | inkey @1
- cls
- display 1,5,'Hello',uline
- display 2,10,'Hello',blink
- display 3,15,'Hello',rev
- display 4,20,'Hello',high
- display 5,25,'Hello',blrev
- display 10,1,'I can have a BIG cursor. Press return '
- cursor full | inkey @1
- display 11,1,'I can have no cursor. Press return '
- cursor off | inkey @1
- display 12,1,'I can have a normal cursor. Press return '
- cursor on | inkey @1
- type 15,1,'I can type fast',10
- type 16,1,'I can type slow',100
- type 17,1,'I can type REAL slow',500
- display 20,1,'Press enter to continue ' | inkey @1
- cls
- display 'End of demo. Bye Dr. Woody'
- halt