AutoCAD Architecture Forum
Welcome to Autodesk’s AutoCAD Architecture Forums. Share your knowledge, ask questions, and explore popular AutoCAD Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Nil error in LISP

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Klingi162
1453 Views, 3 Replies

Nil error in LISP

Hey guys,

 

I got a small but enoying problem:

Whenever I typ a command that I have in my LISP file it writes "nil" at the end of every prompt. this doesn't harm ynything but is really anoying because I want to prompt a message at the end of every command to show the user what just happend and so this "nil" relly doesn't fit there.

Any idea how I can remove this?

 

Thanks for your help Smiley Happy

3 REPLIES 3
Message 2 of 4
dbroad
in reply to: Klingi162

The person who wrote the lisp, apparently didn't know much about what they were doing.

 

To get a command to end quietly, make the last expression in the LISP

(princ)

 

 

Architect, Registered NC, VA, SC, & GA.
Message 3 of 4
Klingi162
in reply to: dbroad

The person was me and I'm new to LISP writing. Smiley Wink

 

but thanks for the info. now it works

Message 4 of 4
dbroad
in reply to: Klingi162

Glad you got it fixed.  If you're new to LISP, try viewing afralisp and visit the AutoCAD Customization forum.

Architect, Registered NC, VA, SC, & GA.

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

Post to forums  

Autodesk Design & Make Report

”Boost