Undo the mutation of a procedure

If you "undo" the mutation of a procedure (deleting an argument you just added), sometimes the calls to the procedure still keep the deleted argument, and you have to delete the existing calls to the procedure, and drag new calls from the procedures drawer (now without the argument).
But other times the procedure disappear from the procedures drawer

imagen

Yes, I found this too. Needed to refresh AI2 to clear the problem.

1 Like

Hello Martin

The calls to the procedure are defined after the procedure, so if you want to use undo to delete a parameter (argument) you have to continue your undo to remove it from the calls.

So, it is not the best use of undo. Instead, just open the procedure and delete the parameter.

1 Like

Thanks for your advice gentelmen.