AMOSi:On Break

From Amiga Coding
Jump to: navigation, search

Intercepts the Control-C command and calls your selected AMOS routine whenever the user attempts to leave your program.


On Break Goto label
On Break Gosub label

an example can be found on AMOSPro_Tutorial:Tutorials/Procedures_2.AMOS