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

m (bot: correcting title)
m
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]]

Revision as of 15:04, 20 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

$error

Example

See /reseterror

Compatibility

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

/reseterror


[Expand]
v · d · e mIRC identifier list