home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
UT
/
UT069.ZIP
/
DISTR
/
ASCLIST.EXE
/
LISTASC.DOC
< prev
next >
Wrap
Text File
|
1991-12-21
|
5KB
|
88 lines
LISTASC VERSION 5.7 December 21, 1991
Program designed and developed by GEORGE SMALL
(C) Copyright George Small 1985 - 1992
LISTASC.DOC Page 1
LISTASC.EXE (version 5.7) is designed to list "BASIC" type files saved
with an .ASC, .BAS or .PRG extension in an ASCII format. Files using IBM
BASIC, IBM BASICA, MICROSOFT QUICK BASIC, DBase III and a word processor
have been successfully listed using this program. The common denominator
for all these files is that they were all "saved" in ASCII format. For
BASIC or BASICA, use [SAVE "FILENAME.ASC",A]; for QUICK BASIC, use the
option to save the file in ASCII format (note that the extension [.BAS] is
automatic: or, optionally, add the extension [.ASC] to the filename);
Dbase III automatically saves the file with an extension of [.PRG] to the
filename in ASCII format; and, for word processor created files, save the
file in "ASCII format" and add the extension [.ASC] (most word processors
have this as an optional save file command). The LISTASC program was
primarily designed to document and print source program coding;
unfortunately, most of the programming languages don't provide a uniform
and formatted output listing.
The LISTASC program will format the coding statements in "paragraph" type
format, preserving the original coding format (including imbedded blank
lines), using either normal or compressed printer font; line overflow is
indented to provide easy reading. Maximum line length coding, including
imbedded blank spaces, tab spacing, special characters, comments, etc. is
variable and dependant upon the programming language and/or editor being
used. Depending upon whether the listing is printed in normal 10 CPI or
compressed 17.5 CPI font, the listing line length will be either 80 or 132
characters in length. The listing will be printed using 56 lines of text
per page and include a heading consisting of the filename, date and time of
file creation, page number, and, the current system date on each each page.
The printed listing format also allows for hole punching without
interferring with the source code statements.
The C.ITOH (8510), EPSON (MX-80), OKIDATA (92), and IBM PROPRINTER are
supported. The printer default is the IBM PROPRINTER character set with a
compressed font [CHR(15)] default: PFK 9 is used to select any of the
other printers supported.
The program is started by entering [d:][\path] LISTASC.EXE at the DOS
prompt. A maximum of 60 programs may be consecutively entered for
printing; normal or compressed font may be toggled from file to file as
well as drive allocation of the file to be printed during input. The
program checks whether the file(s) are in ASCII format and if the file
is in the designated drive directory. The file input format is as
follows: [d:][\path]FILENAME[/a][/b][p][/n]|[/c]
LISTASC VERSION 5.7 December 21, 1991
LISTASC.DOC Page 2
USER NOTES:
o [d:][\path] drive parameter: omission indicates filename is
located on the default drive and path.
o FILENAME is the name of the ASCII file that is to be printed. The
file must have an extension of ".ASC", ".BAS" or ".PRG". Use the
extension parameter of /a, /b or /p after the filename to indicate the
extension; ommission of the extension parameter assumes an ".ASC"
extension to the filename.
o [/n]|[/c] are font parameters to control normal or compressed
printing of the file and are mutually exclusive parameters.
Omission of a font parameter defaults to the font displayed at the
bottom of the screen.
o Do not leave any blank spaces between optional parameters and
the filename. Do not include the filename extension.
o The program uses a temporary work space on the default drive;
therefore the media on the default drive must not be write
protected.
o PFK 1 terminates printing the current file.
o PFK 9 resets "global" printer parameters.
o PFK 10 terminates program operation and returns to DOS.
If this program is useful to you, a $15 program registration fee would be
appreciated. Program registration will entitle you to being informed of
program revision and program customization service -- i.e., special printer
support, etc.. This program may be freely copied and shared with others.
For progam registration, send check or money order (or write) to:
GEORGE SMALL
4631 N. Camino Campero
Tucson, Arizona 85715-6321
PHONE: 602/299-1587
Thank you and enjoy.