Peter van Mil
8-Jun-2015, 07:31 AM
When using the UserError procedure, after the caption parenthesis are displayed.
The procedure UserError is internally translated to the Error command. I tried this:
String sMessage sCapt
Move "This is the message" to sMessage
Move "This is the caption" to sCapt
Error DFERR_OPERATOR (sMessage + If(sCapt<>"",C_ErrorCaption + sCapt,""))
In the error message "This is the caption" is displayed as "This is the caption ()".
8953
The procedure UserError is internally translated to the Error command. I tried this:
String sMessage sCapt
Move "This is the message" to sMessage
Move "This is the caption" to sCapt
Error DFERR_OPERATOR (sMessage + If(sCapt<>"",C_ErrorCaption + sCapt,""))
In the error message "This is the caption" is displayed as "This is the caption ()".
8953