Kbase P6408: 4GL/ABL: Error (133) displaying the backslash (Reverse slant) character on UNIX 4GL clients.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  04/09/2008 |
|
Status: Verified
SYMPTOM(s):
4GL/ABL: Error (133) displaying the backslash (Reverse slant) character on UNIX 4GL clients.
** Unmatched quote found in procedure. (133)
The error occurs executing the following statement on UNIX 4GL clients:
MESSAGE "\"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
The same statement runs on Windows 4GL clients without error:
MESSAGE "\"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
FACT(s) (Environment):
UNIX
Progress 8.x
Progress 9.x
OpenEdge 10.x
OpenEdge Category: Language (4GL/ABL)
CAUSE:
The backslash (\) is an escape character for UNIX and LINUX platforms ONLY.
FIX:
To output the backslash character on UNIX 4GL clients, escape it with another backslash (\) character to the tilde "~" character. For example:
MESSAGE "\\"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
or
MESSAGE "~\"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
Use of the tilde is preferred to ensure the same code compiles and behaves uniformly as expected on both UNIX and Windows platforms.