Error-Handling Functions
Use the following statements and functions to define the way Collabora Office Basic reacts to run-time errors.
Collabora Office Basic offers several methods to prevent the termination of a program when a run-time error occurs.
mengubah tanda string atau tanda numerik ke tanda berbeda dari jenis "Kesalahan".
Mengembalikan nomor baris tempat galat terjadi selama eksekusi program.
Mengembalikan kode galat yang mengidentifikasi galat yang terjadi selama eksekusi program.
Use VBA Err object to raise or handle runtime errors.
Menguji apakah suatu variabel mengandung nilai galat.
Returns the error message that corresponds to a value or raises a given error context.
Mengaktifkan rutinitas penanganan kesalahan setelah kesalahan terjadi, atau melanjutkan kembali eksekusi program.
Resets error information and indicates what to execute next.
The Exception service is a collection of methods to assist in code debugging in Basic and Python scripts and in error handling in Basic scripts.
In Basic scripts, when a run-time error occurs, the methods and properties of the Exception service help identify the error context and allow to handle it.