Color Coding

AutoCAD AutoLISP & Visual LISP

 
Color Coding
 
 
 

VLISP provides an additional solution to make AutoLISP text easier to read: color coding. VLISP looks at each word of text and tries to determine what type of AutoLISP language element the word represents (for example, a built-in function, a number, or a string). Every type of element is assigned its own color, so you can easily distinguish among them when viewing the code. See Understanding Visual LISP Color Coding for more information on the VLISP color coding feature.

Keep in mind that color coding is a VLISP text editor feature, and it is possible that someone who does not have access to VLISP may need to read your code some day. For this reason, you should still use indentation and alignment to enhance your program's readability.