Any pending invocations of a detached interrupt are discarded. Detaching an interrupt that is not attached to an event is essentially a no-operation; no error occurs.
The enabled/disabled condition of an interrupt is not changed by a DETACH statement. When an interrupt is attached after it has been detached, the enabled/disabled condition of the interrupt is the same as it was before it was detached. For more information, see ATTACH Statement, DISABLE Statement, ENABLE Statement, and INTERRUPT Declaration.

