WR Error text
version 6.0
WR Error text (error) String
Parameter | Type | Description | |
error | Integer | Number of error |
Function result String Text description of the error specified by Error
Description
The WR Error text command returns a text description of the error specified by error. You can use this function to receive a description of the error returned by WR Error number.
Example
The following example tests for an error and then displays a different error message depending upon whether or not the user is the Designer:
$Error:=WR Error number (Area)
If ($Error#0)
If (Current user="Designer")
ALERT (WR Error text ($Error))
Else
ALERT ("A problem has occurred. Please notify your manager.")
End if
End if
See Also