home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
xrefprg2.zip
/
XREFPRG2.DOC
< prev
next >
Wrap
Text File
|
1986-03-10
|
4KB
|
112 lines
A. This utility for dBASE source code provides services which
are similar to those provided by DTUN31 and SL. I think
that its good points are the cross reference which seems
quite good and the inclusion of the program source in the
'set'.
I feel comfortable in praising the cross reference abilities
of the program since, unfortunately, the design of the cross
reference generator is not my code.
B. Provides a variety of output choices
1. Output to file - executable file (except for file name
extension '.LST'
2. Output to file - with line numbers and/or cross reference
3. Output to screen
4. Output to printer
a) Provides a page break whenever a 'procedure' is started
C. Flags key words - updated for dBASE + BUT does not include
extensions for CLIPPER or other compilers
1. Reverse video on screen
2. Boldface on printer
3. Not flagged in file except for conversion to upper case
D. Creates constant 'case' treatment of file. Keywords are
output in all upper case while non keywords are all lower
case.
1. Text within quoted strings (delimited with single or double
quotes) and comments (either * or && delimited) is not
processed.
E. Provides automatic indentation to show structure of program.
This feature is selectable and offers the chance to set
the amount of indenting.
1. If 'N' is chosen at the query for auto-indent (or 'A' is not
included in the command line switches) then the file is
passed without any change in its format.
2. Existing indentation can be removed by selecting 'Y' at the
prompt (or including 'A' in the comand line switches) and
choosing an indent level of 0.
F. Provides a low level of source code error checking.
1. Extra or missing 'END' statements for ENDIF, ENDDO, ENDCASE.
a) Extra statements are indicated on both the screen and the
selected output device (as a comment) at the point
PRECEEDING the line in which they are discovered. It may
NOT be the correct point within the program.
b) Missing statements are enumerated at the end of the
processing; again, the messages are both displayed on screen
and as a comment.
2. Extra 'ELSE' statements. These will be off whenever nested
ifs are present.
3. Unterminated strings. Checks for both single and double
quote delimiters. The error message (screen and comment)
will be presented immediately following the line with the
error.
G. Provides source file safety. The source file is not
modified in any way.
H. Ease of use. All information is prompted for when the
program is invoked. The info can also be entered in the
command line.
1. Basic ways to invoke the program:
a) XREF from command line. You will be prompted for
everything.
b) XREF [pathname][filename].[ext] You will be prompted for
all applicable parameters.
c) XREF [pathname][filename].[ext] [/ { A, C, D, F, L, N,
S,0..9 } ]
A means do auto-indenting (see 0..9 below)
C means print out in compressed mode (EPSON)
D means print out in default mode
F means print out to disk file
L means include line numbers in disk file
This is only applicable with 'F' since using
the screen or printer as output automatically
include line numbers.
N means exclude the cross refernce
S means send output to the screen instead of printer.
0..9 will set the indent level to that level instead of
using the default value of (3). This switch is used
only with 'A'.
2. If the filename and switches are included in the command
line and the output device is a file, the output file
extension is forced to '.LST'.