Tharwat Posted June 23, 2010 Posted June 23, 2010 Hi what is the meaning or the purpose of nil command as the following: (command "" ) Regards Tharwat Quote
MSasu Posted June 23, 2010 Posted June 23, 2010 Your code will call last used command. To ensure that no command is active (i.e. in error handlers) use: (command) Regards, Quote
Tharwat Posted June 23, 2010 Author Posted June 23, 2010 Your code will call last used command. To ensure that no command is active (i.e. in error handlers) use: (command) Regards, Thanks a lot. And is it possible to definite it separately like this. (defun Nothing ( ) (command "")) But we have to be sure about which command that would be repeated in sequence ..... right? Many thanks Tharwat Quote
Freerefill Posted June 23, 2010 Posted June 23, 2010 You could do that Tharwat, but that Nothing function is going to do nothing other than call the (command "") function, so it's somewhat superfluous. You could just as easily use (command "") and not have to bother creating an extra function. Quote
Tharwat Posted June 23, 2010 Author Posted June 23, 2010 You could do that Tharwat, but that Nothing function is going to do nothing other than call the (command "") function, so it's somewhat superfluous. You could just as easily use (command "") and not have to bother creating an extra function. Thank you Freerefill I do Appreciated it . Tharwat Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.