Difference between revisions of "AMOSi:Trap"
Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile) |
Spellcoder (talk | contribs) 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