7.7.8.125. OnReset()ΒΆ
GEL callback function called after the target processor has been reset.
Syntax
OnReset( intnErrorCode );
Parameters
nErrorCode: 0 (zero) indicates success.
Description
If defined in a loaded GEL file, OnReset() is called after the target processor has been reset.
Example
OnReset(int nErrorCode)
{
if (nErrorCode)
{
GEL_TextOut("An error occurred while resetting. -%d-\n",,,,,nErrorCode);
}
else
{
GEL_TextOut("Reset was successful. -%d-\n",,,,, nErrorCode);
}
}