local uVal1 as usual
local uVal2 as usual
local uVal3 as usual
uVal1 := "Hi"
uVal2 := 2
uVal3 := uVal1 + uVal2
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.
So you would like something like the compiler (optionally of course!) automatically inserting a RECOVER USING block (if you have not supplied one) which displays an error message with info about the exception? I think that's doable.
But there's not much that this can do, apart from displaying the error message and have a Continue and an Abort option. Continue would continue execution after the END SEQUENCE (just like it does now), and Abort would terminate the app. Is this what you are looking for?