Deleting a procedure programmatically

I want to delete a procedure programmatically in Panorama 6. I couldn’t find a statement that did so but the recorder produced this code:

OpenMacro "t"

Obviously a hangover from Panorama 1 or thereabouts. Unfortunately, when I try to use the code, I get an error message saying I can’t use the DeleteWindow command in a procedure.

Is there another way?

I don’t think there is any way to do it.

In Panorama X a major goal was to make everything programmable, and it was built that way from the start. In fact, quite a few features were programmable before they had a user interface, and the programmability was used to implement the user interface.

Full programmability was not a goal for the original Panorama. A lot of things became programmable over the years, but not everything.