The VLIDE will format for you.
Pull down menu 'Tools'
Select "Format Code in Editor"
Your code formatted.
(defun c:var ()
(command "_BLIPMODE" "off")
(command "_CELTSCALE" "1")
(command "_CMDDIA" "1")
(command "_COLOR" "bylayer")
(command "_DIMASSOC" "1")
(command "_DIMSHO" "1")
(command "_DRAGMODE" "AUTO")
(command "_FACETRES" "2")
(command "_FILEDIA" "1")
(princ)
)
Also when posting code on the forum use the CODE button as shown above.
Click the button, paste your code, click the CODE button again.
This will display the formatting and will keep the parenthesizes
from being miss interpreted buy the forum formatter.
Welcome aboard.
CAB