Consultor Eletrônico



Kbase P99945: How to clear the RETURN-VALUE function?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   17/10/2007
Status: Unverified

GOAL:

How to clear the RETURN-VALUE function?

FACT(s) (Environment):

All Supported Operating Systems
Progress/OpenEdge Versions

FIX:

One way to clear the RETURN-VALUE function is to define a procedure containing the RETURN statement only and call that procedure to clear the current value of the RETURN-VALUE function:
RUN Alpha.
MESSAGE RETURN-VALUE
VIEW-AS ALERT-BOX INFO BUTTONS OK.
RUN ClearRetrunValue.
MESSAGE RETURN-VALUE
VIEW-AS ALERT-BOX INFO BUTTONS OK.
PROCEDURE Alpha:
RETURN "RETURN-VALUE from Alpha".
END.
PROCEDURE ClearRetrunValue:
RETURN.
END.