TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: baitang36 on April 25, 2021, 09:50:46 AM

Title: Add comments to the Fas file
Post by: baitang36 on April 25, 2021, 09:50:46 AM
The comments of normal LSP files are deleted when compiling, and there are no comments in the decompiled code.

We can change the way we write the comments in FAS, like this:

Code - Auto/Visual Lisp: [Select]
  1. This is the first sentence
  2.  
  3. (DEFUN TT() (PRINC "tt" ) )
  4.  
  5. This is the second sentence
  6.  
  7. (ALERT "test" )
  8.  
  9. This is the third sentence
  10.