home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 15 / CDACTUAL15.iso / cdactual / program / basic / QBLIST10.ZIP / QBLIST.DOC < prev    next >
Encoding:
Text File  |  1992-10-26  |  3.5 KB  |  66 lines

  1. This is version 1.0 as the original had errors.
  2. This program is placed into the public domain. No warranty is expressed or 
  3. implied. You use it at you own risk.
  4.  
  5. Note: No formating codes are used in this DOC file so set you printer 
  6. accordingly.
  7. Note: This program assumes that you can set your printer to 12 
  8. characters per inch across, and to 8 lines per inch down.
  9.  
  10. This program will read a QBASIC or QUICKBASIC basic program and give you a 
  11. formated output listing. It is menu driven. You must save your basic programs 
  12. in ASCII format, with the BAS extension.  Your original program is not 
  13. modified in anyway. The listing will have the same name of the basic program 
  14. but with the extension of LST. The output will go to disk so that you can print 
  15. at a later time. Note: This program will overwrite any previous output. For now 
  16. you must print your listing before requesting a new list of the same program.
  17.  
  18. What is unique with this basic listing program? 
  19.  
  20. As you know QBASIC or QUICKBASIC has three parts, THe MAIN routine, and any 
  21. SUB or FUNC routines. For those of you working with long programs wouldn't it 
  22. be nice to be able to print only parts of your program? Well this program 
  23. gives you the option to print a Complete listing, only the MAIN routine, or 
  24. only a SUB or FUNC routine. This is great for those times when part of your 
  25. program is giving you trouble and you don't need to print the whole program.  
  26. When you request a SUB, or FUNC routine, if you don't remember the name you 
  27. can request a list of the names of either SUB's or FUNC's.
  28.  
  29. In all cases two heading lines will be printed. A HEADING will be printed on 
  30. each page giving the NAME of the program, the DATE and TIME the program was 
  31. printed and an overall page number. A sub heading will give you the NAME of 
  32. the either the MAIN routine, or SUB routines, or FUNC routines. Each new 
  33. heading will have its own page number. This way you know how many pages the 
  34. total program is, and how many pages each sub or func is.
  35.  
  36. A copy of the original (source) program is supplied, and a sample of how it 
  37. would look after printing the program. Also the EXE program is included. 
  38.  
  39. As noted above the program assumes that you can set your printer to 12 
  40. characters per inch and to 8 lines per inch. I did this because I have a dot 
  41. matrix printer and the printing comes out nicely this way. The program also 
  42. shifts the list 10 character right, so that I can put holes on the left side 
  43. of the paper to put it in a binder. At 8 lines per inch the program can print 
  44. up to 82 lines. Any Line that is longer than 80 characters across will be 
  45. split. This symbol <<*>> is used to indicate that a line has been split.
  46.  
  47. There is one flaw in this program. If you put any comments before the SUB or 
  48. Func statement they will appear on the previous page of the listing. This is 
  49. also happens when you use METACOMMANDS such as $DYNAMIC statements. 
  50.  
  51. As always feel free to make any changes to this program.  I only request that if you do 
  52. make any changes, can you send me a copy. I would like to see whether I should 
  53. add it to my version.  If you find any problems, or have any requests please 
  54. write to me.  For those who find problems I will send you a corrected version 
  55. of the program.
  56.  
  57. SOLOMON EINHORN
  58. Apt. 3J
  59. 901 ave. H
  60. BROOKLYN, NY 11230
  61.  
  62.  
  63. A thank you is given to the follow people for finding errors.
  64. Raimond, Paul - Vitry France (I can't believe this program got to France)
  65. Smith, Raymond - Goose Creek, S.C
  66. Greenberger, Josh - Brooklyn, NY