home *** CD-ROM | disk | FTP | other *** search
- 10 ' CHECK.BAS - program to print a blank check on the screen and accept
- 20 ' the following information:
- 30 '
- 40 ' CHECKNO Numeric variable that contains the check number
- 50 ' CHECKDATE$ String variable with check date (mm/dd/yyyy)
- 60 ' CHECKPAIDTO$ String variable with name of check payor
- 70 ' CHECKAMOUNT Numeric variable that contains the check amount
- 80 ' CHECKMEMO$ String variable that contains the check memo field
- 90 '
- 100 ' First, clear screen and set up the check on the screen
- 110 CLS
- 120 KEY OFF
- 130 LOCATE 25,1
- 140 PRINT "YOU ARE: Entering information about a check drawn on account...";
- 150 LOCATE 1,1
- 160 PRINT "*******************************************************************************"
- 170 PRINT "* *"
- 180 PRINT "* Dewey, Cheatem and Howe Check No: ______ *"
- 190 PRINT "* 123 Rook Boulevard Date: __/__/____ *"
- 200 PRINT "* Reed City, MI 49677 *"
- 210 PRINT "* *"
- 220 PRINT "* Pay to the order of: __________________________________________________ *"
- 230 PRINT "* *"
- 240 PRINT "* (Check Amount) : __________ *"
- 250 PRINT "* *"
- 260 PRINT "* Memo: __________________________________________________ *"
- 270 PRINT "* *"
- 280 PRINT "*******************************************************************************"
- 290 'Check printed on screen, now let's get information about the check
- 300 LOCATE 3,60
- 310 INPUT CHECKNO
- 320 LOCATE 3,60
- 330 PRINT " ";
- 340 LOCATE 4,56
- 350 INPUT CHECKDATE$
- 360 LOCATE 4,56
- 370 PRINT " ";
- 380 LOCATE 7,25
- 390 INPUT CHECKPAIDTO$
- 400 LOCATE 7,25
- 410 PRINT " ";
- 420 LOCATE 9,25
- 430 INPUT CHECKAMOUNT
- 440 LOCATE 9,25
- 450 PRINT " ";
- 460 LOCATE 11,10,0
- 470 INPUT CHECKMEMO$
- 480 LOCATE 11,10,0
- 490 PRINT " ";
- 500 END
- 510 ' End of program - CHECK.BAS
-