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