Consultor Eletrônico



Kbase P53388: Error 133 compiling code that contains "~U" on OpenEdge 10
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   20/07/2005
Status: Verified

FACT(s) (Environment):

OpenEdge 10.0x

SYMPTOM(s):

Error 133 when attempting to compile code in OpenEdge 10

** Unmatched quote found in procedure. (133)

Code compiled properly in Progress 9.1x

** Unable to understand after -- "<x>". (247)

Unmatched square bracket, or missing expression in subscript. (397)

** <program> Could not understand line <number>. (198)

Code is using the tilde character to escape the character 'U' (~U)

CHANGE:

Upgraded from Progress 9.1x to OpenEdge 10

CAUSE:

In OpenEdge 10, Progress now allows the embedding of UNICODE characters by using either ~U or ~u (i.e. ~U1234). Since the ~U was not needed in Progress 9.x (i.e. the 'U' has no special meaning that would require the use of the tilde) the tilde was ignored at compilation time. In OpenEdge 10, the compile error happens because Progress tries to take the characters after the ~U and make a UNICODE character out of them and this fails because no valid UNICODE character was present.

FIX:

Remove the tilde from the ~U character as it is not needed