Kbase P18182: User-defined function not called when used with OUTPUT TO VA
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/03/2003 |
|
Status: Unverified
FACT(s) (Environment):
Progress 8.2B
FACT(s) (Environment):
Progress 8.3x
FACT(s) (Environment):
Progress 9.x
SYMPTOM(s):
User-defined function not called when used with OUTPUT TO VALUE().
Following code fails:
FUNCTION getFile RETURNS CHARACTER:
...
END.
OUTPUT TO VALUE (getFile()).
Cannot use a parameter with the function
CAUSE:
Bug #: 20000426-007 Logged for 8.3B
CAUSE:
Bug #: 20030127-007 Logged for 9.1D03
CAUSE:
The exact cause is unknown at the time of this writing
FIX:
The following workarounds exist for this issue.
Use STRING function with the function name, as follows:
FUNCTION getFile RETURNS CHARACTER:
...
END.
OUTPUT TO VALUE (STRING(functName())).