begin_end_sequence
This is an old revision of the document!
begin sequence - end sequence
The begin sequence
- recover
- end sequence
statements are widely used in VO applications, and the X# compiler translates it mainly in the try
- catch
and end try
statements.
So, if you are transporting VO code, you can keep these statements safely, but for new code please use the .NET equivalents Try - Catch.
Where the X# compiler adds functionality in the translation is in the recover statement, to support the VO break
command, and encapsulates the exception in an usual. And it adds support for the CanBreak()
function.
The biggest difference between the error handling in .NET and Visual Objects stays in the ErrorBlock() handling. Please see the relative topic: The VO ErrorBlock
begin_end_sequence.1521607800.txt.gz · Last modified: 2018/03/21 04:50 by wolfgangriedmann