Gracias Luis, tu apreciacion del undo es correcta, se que no debo usar command en el reactor, por eso utilizo sendcommand, lo que trato de evitar es el eco del mismo en la linea de comandos.
Tu opcion de grabar el estado de los objetos es buena, pero creo que por el momento escapa mis posibilidades. Por lo pronto dejare la rutina tal como esta, y despues regresare para implementar tu sugerencia.
En el control de errores que uso, tambien uso la funcion *error*, y las funciones vla-XXXXundomark, solo queria saber si hay una alternativa al uso del comando Undo, para regresar al estado anterior al error.
Gracias por tu tiempo.
Thanks Luis, your apreciation abuot the usage of undo is correct, I already know that I should not use the command function inside any reactor, instead I use Sendcommand, but what I'm trying to avoi is de echo in command line.
Your opcion about to save the current state of the objects before the Plot comand is great, but by now it is beyond my knowledge. Right now I will let my funtion just the way it is, and later I will try to implement your suggestion.
The error handler I use, has the *error¨* and XXXUndoMark fucntions, I just wanted to now if there is another way to get the previous state before the error happens, without using the command "undo".
Thanks for your time.
Saludos
Marco Jacinto