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.
 
 
 
 
 
 

20 lines
506 B

  1. 1 rem This is the Invoice Number Sequencing Entry Program
  2. if end #1 then 2000
  3. open "inv" as 1
  4. read #1;n
  5. close 1
  6. 1030 PRINT "CURRENT INVOICE NUMBER IS ";N
  7. 1040 PRINT:PRINT "PLEASE TYPE IN THE NEW INVOICE SEQUENCE"
  8. 1050 PRINT "STARTING NUMBER."
  9. 1060 PRINT:PRINT "A ZERO VALUE WILL ALLOW THE MANUAL ENTRY OF"
  10. 1070 PRINT "NON-SEQUENTIAL INVOICE NUMBERS."
  11. 1080 PRINT:INPUT N
  12. 1090 open "inv" as 1
  13. print #1;n
  14. close 1
  15. stop
  16. 2000 create "inv" as 1
  17. close 1
  18. goto 1040