Closedialog needed?

The Help for opendialog says:

The only way to close this dialog window is with the closedialog statement.

However, I just wrote a procedure that uses opendialog, and then closes it later with closewindow, and it is working just fine. The closedialog help does say we should use this instead of closewindow.

So, just quibbling over semantics.

I think in Panorama 6 and earlier the closedialog statement was required for this. Panorama X is apparently not so strict.

Also, I would strongly urge you not to use the opendialog statement. Use the rundialog statement instead – it’s so much easier once you get the hang of it.