Greetings,
The vlisp-compile as per Autodesk Knowledge networks
Return Values
Type: T or nil
T, if compilation is successful; otherwise nil.
in this example vlisp-compile return 2! why 2?
these two lisp files run correctly
sum24.lsp
(defun sum24 ( a b / )
(setq result
(+ (* 2 a) (* 4 b))
)
);sum24
score.lsp
(defun score ( arg1 arg2 / func funcid)
(setq funcid
(eval
(read (strcat arg1 arg2))
)
)
(funcid 4 5)
);score
When compiling score.lsp to fas
(vlisp-compile 'st "C:\\......\\score.LSP")
the return of vlisp-compile is 2
is someone have an explanation of what happened? where is the error?
thank you