endtry — Ends a block where exceptions are handled.
endtry( : : : )
With the help of the operators try, catch, endtry, and 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 try, throw, and dev_set_check as well as in the “HDevelop User's Guide”.
The export of the operators try, catch, endtry, and throw is not supported for the languages C and VisualBasic 6.0, 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).