INTERRUPT

Compatible with:
DOS Maximite CMM MM150 MM170 MM+ MMX Picromite ArmiteL4 Armite F4 ArmiteH7 Picomite CMM2

Syntax:
INTERRUPT [myint]

Description:

This command triggers a software interrupt. 
The interrupt is set up using INTERRUPT ‘myint’ where ‘myint’ is the name of a subroutine that will be executed when the interrupt is triggered. 
Use INTERRUPT 0 to disable the interrupt 
Use INTERRUPT without parameters to trigger the interrupt. 
NB: the interrupt can also be triggered from within a CSUB

'
INTERRUPT myint 'set up an interrupt that can be triggered by the CSUB


SUB myint 'subroutine that is triggered when the non-blocking CSUB terminates
...
END SUB


Last edited: 29 September, 2022