Visual LISP, AutoLISP and General Customization
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Loading a lisp file in vlisp editor
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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
Re: Loading a lisp file in vlisp editor
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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
Re: Loading a lisp file in vlisp editor
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Adopt. Adapt. Overcome. Or be overcome.

Re: Loading a lisp file in vlisp editor
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
