Consultor Eletrônico



Kbase P20260: User-defined function not called when used with OUTPUT TO VA
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/12/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()).

Unable to use STRING 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.

A parameter can be added to, and supplied for, the function:

FUNCTION getFile RETURNS CHARACTER (INPUT strPath AS CHARACTER):
...
END.

OUTPUT TO VALUE (functName(param1)).