Difference between revisions of "AMOSi:Trap"

From Amiga Coding
Jump to: navigation, search
m (1 revision(s))
 
(Extracted from the AMOSPro V2.00 helpfile)
(No difference)

Revision as of 02:45, 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