cad 2016
Cannot invoke (command) from *error* without prior call to (*push-error-using-command*).
Converting (command) calls to (command-s) is recommended.
The above code does not run in cad 2016 version and above message displayed.
How can I modify my code to suit all versions?