Mathias Bauer wrote:
But there is another even more important problem: Even if you don't want to create a listener and you just want to call "close(true)" in Basic to make sure that the document will get closed *in case there is no other interested party anymore* you might get an exception that will stop your program though there is no real reason for it. That's the reason that I think that throwing exceptions should be restricted to cases where an error occured, something that *must* be handled by the caller. This is not true in case of failure to close a document because we have means to handle this situation gracefully.
For such simple cases, "on error goto" can be used in Basic. Niklas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
