Click or drag to resize

_SequenceRecover Function

X#
This function is automatically inserted by the compiler in a compiler generated RECOVER USING block when you have a BEGIN SEQUENCE .. END SEQUENCE in your code without RECOVER USING clause

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax
 FUNCTION _SequenceRecover(
	u AS USUAL
) AS VOID
Request Example View Source

Parameters

u
Type: Usual
The parameter that was passed in the BREAK statement or the call to the _Break function
Remarks
If a REAL exception occurs then this function is NOT called. The function is only called when the (generated) RECOVER USING block is called with a value from a BREAK statement.
The default implementation of this function (in the XSharp.RT assembly) does nothing. You can override this function in your own code if you want. The function should then have the following prototype
X#
1FUNCTION _SequenceRecover(u as USUAL) AS VOID
See Also