In the online documentation and in a book that I have at hand ("Open Office
Programmierung" by Rene Martin) I find explanation for handling errors. But,
what I'd like to know is:
* How can I let my code *generate* errors?
* If generating errors manually is possible, how do I set the error numb
Am Freitag, 16. Dezember 2005 12:57 schrieb Felix E. Klee:
> * How can I let my code *generate* errors?
Anyone?
I'd really love to have some kind of exception system at hand when programming
in Basic.
--
Dipl.-Phys. Felix E. Klee
Email: [EMAIL PROTECTED] (work), [EMAIL PROTECTED] (home)
Tel:
Felix E. Klee wrote:
In the online documentation and in a book that I have at hand ("Open Office
Programmierung" by Rene Martin) I find explanation for handling errors. But,
what I'd like to know is:
* How can I let my code *generate* errors?
* If generating errors manually is possible, how
Hi Felix,
I'm afraid exception throwing is not available in OpenOffice Basic.
So you will have to define the error numbers and messages by yourself.
In tiny programming projects it might be useful to hard code them, in
larger projects I would suggest to have a file where numbers and
messages