Hi,
I am facing kind of a problem when I compile this following code with the PREPROCESS option :
The syntax is correctly checked, and the execution result is : [Ex : " `abc` " = " `ghi` " ...] (brackets aren't part of the result).
However, the resulting file of compiling preprocess contains the following :
As you can see, the syntax isn't correct anymore... The PREPROCESS seems to misunderstand the use of 2 double quotes into a quoted character string.
Is that a known issue ? I know a workaround could be found through the use of the tilde character but I wanted to know if someone had had the same problem.
For information, I am running on OpenEdge 10.1C.
Thanks in advance,
Julien
I am facing kind of a problem when I compile this following code with the PREPROCESS option :
Code:
DEF VAR maVar AS CHAR NO-UNDO.
maVar = "Ex : "" `abc` "" = "" `ghi` "" ... ".
DISP maVar FORMAT "x(40)".
The syntax is correctly checked, and the execution result is : [Ex : " `abc` " = " `ghi` " ...] (brackets aren't part of the result).
However, the resulting file of compiling preprocess contains the following :
Code:
DEF VAR maVar AS CHAR NO-UNDO.
maVar = "Ex : " `abc` " = " `ghi` " ... ".
DISP maVar FORMAT "x(40)".
As you can see, the syntax isn't correct anymore... The PREPROCESS seems to misunderstand the use of 2 double quotes into a quoted character string.
Is that a known issue ? I know a workaround could be found through the use of the tilde character but I wanted to know if someone had had the same problem.
For information, I am running on OpenEdge 10.1C.
Thanks in advance,
Julien