Comments in AutoLISP Program Files
 
 
 

It is good practice to include comments in AutoLISP program files. Comments are useful to both the programmer and future users who may need to revise a program to suit their needs. Use comments to do the following:

Comments begin with one or more semicolons (;) and continue through the end of the line.

; This entire line is a comment
(setq area (* pi r r))  ; Compute area of circle 

Any text within ;| ... |; is ignored. Therefore, comments can be included within a line of code or extend for multiple lines. This type of comment is known as an in-line comment.

(setq tmode ;|some note here|; (getvar "tilemode"))

The following example shows a comment that continues for multiple lines:

(setvar "orthomode" 1) ;|comment starts here
and continues to this line,
but ends way down here|; (princ "\nORTHOMODE set On.")

It is recommended that you use comments liberally when writing AutoLISP programs. The tutorial files provided with VLISP contain good examples of commenting style. If you've installed the AutoLISP Tutorial files, you'll find the AutoLISP tutorial code in the Tutorial\VisualLISP directory.


500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@entercad.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.