Difference between revisions of "AMOSi:Trap"

From Amiga Coding
Jump to: navigation, search
m (1 revision(s))
 
m (1 revision(s))
 
(No difference)

Latest revision as of 01:51, 17 November 2007

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


TRAP executes a single instruction, and traps any errors which occur. If a problem crops up during this instruction, your program will continue as normal. You can now find the number of the error using =ERRTRAP


Trap Normal_Instruction