home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
GR
/
GR506.ZIP
/
ACAD2.EXE
/
PARNCKR.DOC
< prev
next >
Wrap
Text File
|
1987-03-15
|
2KB
|
50 lines
PARNCKR User Documentation
Version 1.0
This Program is distributed via "Share-Ware". You are allowed to copy this
Program for other AutoCAD users who may have a need to "clean-up" a Lisp
source file similiar to "Pretty-Type" and do Parentheses checking at the
function level.
If you find that this program is useful, please send $15 to:
George Hartinger
P.O.Box 40812
Grand Junction, Colo. 81504
PARNCKR User Documentation
Version 1.0
I. Introduction.
PARNCKR was created due to the frustration of working with all of the
parentheses associated with the Lisp language within AutoCAD. I wanted a
simplier way to check for missing open and closed parentheses, therefore,
PARNCKR.
This routine will not only check each function and report on missing open
and closed parentheses but it will also create a file, [filename.CNG], that is
indented at each parenthesis level. This file allows easy traceback of the
parentheses levels of the routine, it can also be the final source file.
II. Operation of PARNCKR
Simply type in PARNCKR at the DOS Command Prompt. The Program will
then prompt for the Lisp source file name. Enter in the pathname and
filename only. The Program will append a ".LSP" entension for you.
The Program will then scan each input line searching for open and closed
parentheses. At the end of each Lisp function the Program will print out
the number of misssing open and/or closed parentheses. Hit any Key to continue
with the next function. You can then edit [filename.CNG] and find the problem
or Copy [filename.CNG] to [filename.LSP] for a "clean" source file. To Abort
the program Hit Cntr-Break.
III. Problems
The only problem I have had with this Program is with multiple setq's.
This problem can be resolved with simple editing. The next Version will take
care of this problem.