endtry — Ends a block where exceptions are handled.
endtry( : : : )
With the help of the operators
throw it is possible to implement a dynamic exception handling
in HDevelop, which is comparable to the exception handling in C++
and C#. The basic concepts of the exception handling in HDevelop are
described at the operators
dev_set_check as well as in the “HDevelop User's Guide”.
The export of the operators
throw is not supported for the language C, but only for
the languages C++, C# and VisualBasic/.NET.
Only the latter support throwing exceptions across procedure.
endtry always returns 2 (H_MSG_TRUE).