Tharwat Posted June 23, 2010 Share Posted June 23, 2010 Hi what is the meaning or the purpose of nil command as the following: (command "" ) Regards Tharwat Quote Link to comment Share on other sites More sharing options...
MSasu Posted June 23, 2010 Share 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 Link to comment Share on other sites More sharing options...
Tharwat Posted June 23, 2010 Author Share 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 Link to comment Share on other sites More sharing options...
Freerefill Posted June 23, 2010 Share 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 Link to comment Share on other sites More sharing options...
Tharwat Posted June 23, 2010 Author Share 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 Link to comment Share on other sites More sharing options...
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.