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

m (PatrolBot moved page $error identifier - mIRC to mirc/identifiers/$error: per new naming convention)
m (bot: correcting title)
Line 1: Line 1:
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 ==

Revision as of 08:23, 4 January 2015

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