Error-Handling Functions
Use the following statements and functions to define the way LibreOffice Basic reacts to run-time errors.
LibreOffice Basic offers several methods to prevent the termination of a program when a run-time error occurs.
Teisendab string- või arvavaldise variandi avaldiseks alamtüübiga Viga.
Tagastab selle rea numbri, kus programmi käitamise ajal viga ilmnes.
Tagastab veakoodi, mis määrab programmi käitamise ajal ilmnenud vea.
Use VBA Err object to raise or handle runtime errors.
Testib, kas muutuja sisaldab veaväärtust.
Returns the error message that corresponds to a value or raises a given error context.
Lubab veahalduse alamprotseduuri käivitamise pärast vea ilmnemist või jätkab programmi täitmist.
Resets error information and indicates what to execute next.