Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Loading a lisp file in vlisp editor

3 REPLIES 3
Reply
Message 1 of 4
m.pepin
369 Views, 3 Replies

Loading a lisp file in vlisp editor

Does someone has a clue, when I load a file in the vlisp editor this is what I get in the console window:

_$
; error: bad argument type: numberp: nil

Please help

 

3 REPLIES 3
Message 2 of 4
hmsilva
in reply to: m.pepin

Try this:

in vlisp editor, menu debug and break on error,

then load your code,

go to menu debug and last break source, to see what is causing the error.

 

Henrique

EESignature

Message 3 of 4
dgorsman
in reply to: m.pepin

Incidental to the problem, this means something is executing by loading the file.  If this is not intended behavior, then you likely have mismatched parenthesis in the code.  If it is intended behavior, I recommend you disable the execute-on-load behavior during development - it will make debugging easier.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Message 4 of 4
m.pepin
in reply to: m.pepin

Thank you, indeed it was mismatch parenthesis. I was puzzled because when I mismatch parenthesis I got another error message than numberp nil. thank you again.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost