isUserInterrupted

BOOL isUserInterrupted(void)

The isUserInterrupted function, defined in mcadincl.h, is used to check whether a user has pressed the [Esc] key. Include this function if you want to be able to interrupt your function like other Mathcad functions.

Parameter

The function does not take any parameters.

Return value

Returns TRUE if the [Esc] key was pressed, FALSE otherwise.

See the example code.