Kbase P134068: GUID() function fails with syntax error 247
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/8/2008 |
|
Status: Unverified
SYMPTOM(s):
Using code:
DEFINE VARIABLE c AS CHARACTER NO-UNDO.
c = GUID().
GUID() function fails with syntax error 247
** Unable to understand after -- "<string>". (247)
** Unable to understand after -- "c = GUID". (247)
** <program> Could not understand line <number>. (198)
UUID argument for the GUID function is supposed to be optional
FACT(s) (Environment):
OpenEdge 10.1x
All Supported Operating Systems
CAUSE:
Bug# OE00172962
CAUSE:
The documentation for the GUID function implies that brackets are required when calling it. This is not the case; the brackets are only required if the optional UUID argument is supplied
FIX:
Remove the brackets from the GUID function:
DEFINE VARIABLE c AS CHARACTER NO-UNDO.
c = GUID.