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

m (bot: correcting title)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{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.
+
{{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 ==
 
== Synopsis ==
Line 14: Line 15:
 
{{mIRC identifier list}}
 
{{mIRC identifier list}}
  
[[Category:MIRC identifiers]]
+
[[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