Message 1 of 9
How can I modify the following code with "command-s " ?

Not applicable
11-20-2016
07:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi guys
At CAD2015 ,can't use "command" and "vl-cmdf" in error function
If use command-s , can't write like this:
(command-s "_.undo") (command-s "_end")
So ,How can I modify the following code with "command-s " ?
(while (not (wcmatch (getvar "cmdnames") "*UNDO*")) (command "_.undo") ) (command "_end") (command* "_.undo" "1") (while (not (= (getvar "cmdnames") "")) (command))