Understanding Visual LISP Formatting Styles

AutoCAD AutoLISP & Visual LISP

 
Understanding Visual LISP Formatting Styles
 
 
 

The VLISP formatter chooses the appropriate formatting style according to rules that are explained in this section. You can influence the choice of VLISP styles through the options you set in the Format Options dialog box. To display the Format Options dialog box, choose Tools Environment Options Visual LISP Format Options from the VLISP menu.

Initially, VLISP displays only a subset of the formatting options you can specify. Press the More Options button in the Format Options dialog box to expand the window with additional formatting options.

The following are two main formatting style sets:

  • A single-line formatting style—Plane
  • Multiple-line formatting styles—Wide, Narrow, Column

The sample text below demonstrates the different formatting styles.

Sample text initial appearance:

(autoload "appload"
'("appload"))

For a general function call expression, the formatter applies one of the styles in the following sections.