From WikiChip
Difference between revisions of "mirc/identifiers/$error"
< mirc‎ | identifiers

(Created $error identifier REDIRECT - mIRC)
 
m
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
#REDIRECT {{mIRC|/reseterror}}
+
{{mirc title|$error identifier}}The '''$error''' identifier is used to catch errors in a script's execution. When an error occurs, mIRC looks for any goto point named ''':error''' and continues executing. '''$error''' is then filled with the current error, and can be used to determine what went wrong with the script.
 +
 
 +
 
 +
== Synopsis ==
 +
<source lang="mIRC">$error</source>
 +
 
 +
== Example ==
 +
See {{mIRC|/reseterror}}
 +
 
 +
== Compatibility ==
 +
{{mIRC compatibility|6.14}}
 +
== See Also ==
 +
{{mIRC|/reseterror}}
 +
 
 +
{{mIRC identifier list}}
 +
 
 +
[[Category:mIRC identifiers|error]]

Latest revision as of 18:43, 21 September 2017

The $error identifier is used to catch errors in a script's execution. When an error occurs, mIRC looks for any goto point named :error and continues executing. $error is then filled with the current error, and can be used to determine what went wrong with the script.


Synopsis[edit]

$error

Example[edit]

See /reseterror

Compatibility[edit]

Added: mIRC v6.14
Added on: 03 Mar 2004
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.

See Also[edit]

/reseterror


[Expand]
v · d · e mIRC identifier list