This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
en:onerror [2016/08/13 12:36] admin |
en:onerror [2016/08/13 12:38] admin |
||
---|---|---|---|
Line 2: | Line 2: | ||
==== Format ==== | ==== Format ==== | ||
- | **onerror** [[labelprogamsyntax|label]] | + | **onerror** [[labelprogramsyntax|label]] |
==== Description ==== | ==== Description ==== | ||
- | Causes the [[GosubReturn|Gosub]] at [[labelprogamsyntax|label]] to be executed when a runtime error occurs. | + | Causes the [[GosubReturn|Gosub]] at [[labelprogramsyntax|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. |