Just found out by accident that comments may be placed in lines with the ;|. .
..|; style. Such as:
;|A|;(cond
( (= pt1tyep 'STR) ;User entered something at keyboard
;|B|; (cond
;|B.1|; (setq go 0) ;get out of program
)
;|B.2|; ( (and (= (atof pt1) 0.0) ;evaluates to 0.0 -but atof gives 0.0 for
alpha strings, too.
(0string pt1) ;is in fact user-entered 0.0
I think the vlisp editor will mess them up but the code runs fine.
I'm not sold that it's a good idea -- but it does open possibilities. Anybody
here make use of it?
rs


inline comments
Reply With Quote