[Stackoverflow] [Progress OpenEdge ABL] Progress equivalent of c# myVariable.GetType().Name?

Status
Not open for further replies.
A

AXMIM

Guest
Is there a Progress equivalent for C# myVariable.GetType().Name?

With an interface or a base type variable, can we find back the name of the real type instanciated?

Code:
ShowRealType(NEW myUserDefinedError()).

METHOD PUBLIC VOID ShowRealType(viError AS Progress.Lang.ERROR):
    MESSAGE /***** NEED CODE TO FIND THE REAL TYPE OF viError here ******/        VIEW-AS ALERT-BOX.
END METHOD.

I've tried viError:GetClass():ToString(), but its gives Progress.Lang.Class_1025 instead of myUserDefinedError.

Inheritance

Continue reading...
 
Status
Not open for further replies.
Top