4D Write v16

WR Error text

Home

 
4D Write v16
WR Error text

WR Error text 


 

WR Error text ( error ) -> Function result 
Parameter Type   Description
error  Integer in Number of error
Function result  String in 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.

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

 
PROPERTIES 

Product: 4D Write
Theme: WR Utilities
Number: 89180

 
HISTORY 

Created: 4D Write 6

 
ARTICLE USAGE

4D Write Language ( 4D Write v16)