Visual Lisp - Code Formatting

rameshg

Usenet Archive
Joined
Sep 20, 2000
Messages
3
Reaction score
0
1. Does anyone know whether code formatting is possible in VLISP (like in VB), so that the variable names appear as defined in Dim statement. For ex., (defun C:TEST(/ RotAng InsPt)....) then all subsequent typing of the defined symbol names should appear as defined in the local vars list, even though we may type as rotang, inspt etc., Any thoughts???

2. How to run an EXE file from a LISP routing? Is there any better way than (command ".Shell" "ExeName") ??

Regards
Ramesh.
 
rameshg said:
1. Does anyone know whether code formatting is possible in VLISP (like in VB), so that the variable names appear as defined in Dim statement.

No, but here is something I dicovered a while back.
Given this function:
(defun testapp
(setq abc 1.23
def 4.56
xyz "string"
tmp T
out nil)
)
Go into Tools | Environment Options | General Options | Diagnostics and turn ON "Report statistics during syntax checking" and when you run "Check text in editor" it will scoop up all your global variables in the Build Output window like this:

Global variables: (ABC DEF OUT TMP XYZ)
 
Back
Top