begin - end sequence compatibility
Posted: Fri Mar 30, 2018 12:02 pm
Hi,
please see this piece of code:
When executed in VO, it shows a error, as everyone would expect. But since the code error is occuring in a sequence, the program execution will continue.
When this code is executed in X# with the Vulcan runtime, it shows not error, but continues after the end sequence statement.
This will be a major issue for me as I'm using such constructs a lot, leaving the errorhandling to the globally installed error handler.
I understand that .NET does not supports global error handlers, but IMHO the compiler should try to insert something like a error handler in the own runtime, and execute it in such cases.
Wolfgang
please see this piece of code:
Code: Select all
local uVal1 as usual
local uVal2 as usual
local uVal3 as usual
begin sequence
uVal1 := "Hi"
uVal2 := 2
uVal3 := uVal1 + uVal2
end sequence
When this code is executed in X# with the Vulcan runtime, it shows not error, but continues after the end sequence statement.
This will be a major issue for me as I'm using such constructs a lot, leaving the errorhandling to the globally installed error handler.
I understand that .NET does not supports global error handlers, but IMHO the compiler should try to insert something like a error handler in the own runtime, and execute it in such cases.
Wolfgang