Custom Functions > Function Definitions > isUserInterrupted
  
isUserInterrupted
This function checks for requests to stop calculation.
To stop the calculation, click Stop All Calculations or disable the region.
BOOL isUserInterrupted(void)
Parameter
The function does not take any parameters.
Return Value
Returns TRUE if you click Stop All Calculations or if you disable the region. Returns FALSE otherwise.
Additional Information
A custom function that supports user interrupts returns a non-zero exit code when a calculation stop occurs. In the sample custom function MULTIPLY.C the error message associated with this exit code is "interrupted".