Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I do not understand exactly what I have put wrong
This is an excerpt from a larger little program and I need to first ask some questions to those who are going to use the program and then run with the answers given above, since it will take me a while to run.
(defun c:comand ()
(intget "Yes No")
(setq Var1 (getkword "\n? [Yes/No]: <Yes> "))
(setq Var2 (getkword "\n? [Yes/No]: <No> "))
(if (= Var1 "Yes")
(command "")
()
)
(if (= Var2 "Yes")
()
(command "")
)
(setq Var1 nil)
(setq Var2 nil)
)
Can anyone explain exactly how these commands work?
Additional question:
Can i delete line 7?
Thank you!
🙂
Solved! Go to Solution.