This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
en:onerror [2016/01/01 22:41] 127.0.0.1 external edit |
en:onerror [2016/05/23 19:19] admin |
||
---|---|---|---|
Line 5: | Line 5: | ||
==== Description ==== | ==== Description ==== | ||
- | Causes the [[GosubReturn|Gosub]] at //label// to be executed | + | Causes the [[GosubReturn|Gosub]] at //label// to be executed when a runtime error occurs. |
You may not execute an OnError statement inside a [[Try|Try / Catch / End Try]] statement. | You may not execute an OnError statement inside a [[Try|Try / Catch / End Try]] statement. | ||
Line 18: | Line 18: | ||
==== History ==== | ==== History ==== | ||
|0.9.6z|New To Version| | |0.9.6z|New To Version| | ||
+ | |1.99.99.33|Removed the ability to use a subroutine for error trapping| | ||