home *** CD-ROM | disk | FTP | other *** search
- EPB v1.5 is a Turbo Pascal v4.0 source file beautifier that requires about
- 150 KB of free memory to run. EPB filters Pascal source code so that it
- looks more like Modula source code. EPB also performs partial indenting
- around certain pascal tokens such as the comma, assignment operator, and
- parentheses based on rules that I will not elaborate here. These are
- obligatory features of the program, and there are some optional features as
- well. EPB can filter out comments from a source file; set all variable,
- constant, and label identifiers to lower case; or perform a search and
- replace while ignoring comments and quotes (a feature that is useful for
- globally renaming variables).
-
- EPB is flexible in its input and output. Input can come from the standard
- input stream or a disk file and output can go to to the standard output
- stream or a disk file. When no extension is specified for a filename,
- ".PAS" is assumed to be the file's extension unless the filename ends with
- a period, such as, "JUSTTHIS.". If the same name is specified for
- both the input and output files, EPB physically renames the input
- file so that its extension is ".BAK".
-
- One of the simplest ways to invoke EPB from a command line is to type the
- following:
-
- EPB filename
-
- where the filename is the name of a Pascal source file. In this case, the
- filename is interpreted by EPB to be the name of both the input and output
- files. You can type EPB on the command line by itself to make a help
- screen appear.
-
- DISCLAIMER: Use EPB at your own risk. The author will not be liable for
- any damages that result from the use or misuse of EPB. The EPB program and
- this documentation are copyright 1991 by Edward Lee, all rights reserved.
-
-
- -Ed L
- edlee@chinet.chi.il.us
-