4D Write v16WR Error text |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Write v16
WR Error text
|
WR Error text ( error ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
error | Integer |
![]() |
Number of error | |||||
Function result | String |
![]() |
Text description of the error specified by Error | |||||
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.
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
Product: 4D Write
Theme: WR Utilities
Number:
89180
Created: 4D Write 6
4D Write Language ( 4D Write v16)