Consultor Eletrônico



Kbase P58278: How to get the name of an internal procedure?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/9/2003
Status: Unverified

GOAL:

How to get the name of an internal procedure?

FACT(s) (Environment):

Progress 8.x

FACT(s) (Environment):

Progress 9.x

FIX:

Use function PROGRAM-NAME().

PROGRAM-NAME(1) gives the name of the current internal or external procedure.

Inside an internal procedure function PROGRAM-NAME(1) also returns the name of the containing .p.

If the name of the internal procedure is needed, something like
ENTRY(1,PROGRAM-NAME(1)," ") can be used.