endtryπ
Only available for HDevelop
Short descriptionπ
endtry β Ends a block where exceptions are handled.
Signatureπ
endtry( : : : )
Descriptionπ
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 operator endtry closes the exception handling block that was
opened with the operators try and catch.
Attentionπ
The export of the operators try, catch, endtry,
and 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.
Resultπ
endtry always returns 2 (H_MSG_TRUE).
Combinations with other operatorsπ
Moduleπ
Foundation