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.
Konvertuje reťazec alebo číselnú hodnotu na typ Variant.
Vracia číslo riadku, kde sa vyskytla chyba počas vykonávania programu.
Vracia chybový kód identifikujúci chybu, ktorá sa vyskytla počas vykonávania programu.
Use VBA Err object to raise or handle runtime errors.
Testuje, či premenná obsahuje chybovú hodnotu.
Returns the error message that corresponds to a value or raises a given error context.
Umožňuje spracovanie chýb potom, ako sa vyskytla chyba alebo obnovuje vykonávanie.
Resets error information and indicates what to execute next.