Consultor Eletrônico



Kbase P97577: COMPILE XREF ignores FUNCTION invocation statements.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/15/2004
Status: Unverified

SYMPTOM(s):

COMPILE XREF ignores FUNCTION invocation statements.

Compiling the following code with the XREF option:
DEFINE VARIABLE i AS INTEGER NO-UNDO.
FUNCTION doubler RETURNS INTEGER (INPUT pi AS INTEGER).
RETURN (2 * pi).
END FUNCTION.
i = doubler(5).

Generates the following XREF listing which does not have a 'RUN' reference to the statement that runs user defined function; i = doubler(5):
.\test.p .\test.p 1 COMPILE test.p
.\test.p .\test.p 1 CPINTERNAL ISO8859-1
.\test.p .\test.p 1 CPSTREAM ISO8859-1
.\test.p .\test.p 1 STRING "i" 1 NONE UNTRANSLATABLE
.\test.p .\test.p 2 STRING "pi" 2 NONE UNTRANSLATABLE
.\test.p .\test.p 4 FUNCTION doubler,INTEGER,INPUT pi INTEGER
.\test.p .\test.p 4 STRING "DOUBLER" 7 NONE UNTRANSLATABLE

CAUSE:

Enhancement Request# 20041115-028

FIX:

None at this time.