ResetAbort Method
Description
Resets the abort flag that is set with the Stop method.
Syntax
Sub ResetAbort ()
Remarks
When the Stop method is executed and no other Spel method is in cycle, then the next Spel method will generate a user abort error. This is done so that no matter when the Stop is issued, the routine that is executing Spel methods will receive the error. Use ResetAbort to clear this condition.
Note:
The ResetAbortEnabled property must be set to True for the ResetAbort feature to work.
See Also
Stop Method, Reset Method, ResetAbortEnabled Property
ResetAbort Example
VB Example:
Sub btnMcal_Click() Handles btnMcal.Click
m_spel.ResetAbort()
m_spel.MCal()
End Sub
C# Example:
void btnMCal_Click(object sender, EventArgs e)
{
m_spel.ResetAbort();
m_spel.MCal();
}