TEXTPRT: lists source files
Description
Source file print formatter. Accepts files created by the
Wang EDITOR and prints them with or without line numbers.
Categories
Documentation
Program Maintenance
Related files
TEXTPRT: Object file for program.
User Instructions
Prints source files with minimal formatting and pagination.
Formats listings with page breaks whenever a slash ('/') is
found in the first column. If the slash is followed by a
character string (up to 40 characters), this becomes the
header for the report; two slashes together will clear this
header. The header will print in expanded type (twice wide)
on printers that are capable of this.
At the INPUT screen, enter the file name
and location, the number of copies to be printed, whether
line numbers are to be included, the line spacing, and the
lines per page. When the listing is complete, you may
restart the program or exit.
Programmer Instructions
Fully equipped with GETPARMs; may be easily used under
program control.
INPUT Press (RETURN) to continue, PF(14) for further
information, or PF(16) to exit program.
FILE (blank) The name and location of the file
LIBRARY (blank) to be listed. Must be a discrete
VOLUME (blank) file name; no "wild card" characters
or blank fields are allowed.
COPIES 1 Specify up to 999 copies.
NUMBERS NO Set to YES to include line numbers in
listing.
SPACING S Vertical line spacing. May be
(S)ingle, (D)ouble, or (T)riple.
LINES 55 Lines per page.
EOJ Press PF(01) to run again or PF(16) to exit
program.
Example of use
Can be used for program listings or as a quick means of
creating documentation listings.
Comments
One of the most usable and elegant of the listing utilities.
For other listing utilities, see LIST80,
PRNTLIBE,
and MEMBPRNT.