The Visual LISP text editor window provides some syntax checking capabilities that can be performed before executing an AutoLISP program.
Note: The Visual LISP IDE is available on Windows only.
The syntax errors that can be detected from the text editor window are:
- Incorrect number of arguments supplied to a known function
- Invalid variable name passed to a function (for example, a quoted symbol where a variable is required)
- Incorrect syntax in special form function calls (for example, lambda, setq, and foreach)
Some syntax errors can only be determined at runtime. For example, if you call a function that expects an integer argument and you supply a string, AutoLISP does not detect this until run-time. As a result, this error will not be detected until the program is executed.