Yeepy... Here we go again!
This thing is becoming quite exciting
I've found a solution for my problem. Its not that hard after all

Indeed, it is quite simple. What I was trying to accomplish was a way to call object's methods inside a third method function (from the same object) without having to know the real procedure name. Got it? At a first look it may seem useless, but its all what I need to get my app concept on track. I'm trying to create a "generic" kind of object holding some predefined (well known) methods, but these methods may point to different functions deppending on the parameters passed by the programmer at the creation moment. How could I know what procedure to call among those coded for each object sub-type? I could store a SubType variable within the object data structure and use a Select when needed, but it is not "clean" enough...
So, I realize this:
Code: Select all
Procedure vCounter_Times(*Object.vCounter_Object, X.l)
Limit.l = CallFunctionFast(*Object\Methods\Ret,*Object) + X.l ; This works!
; Shows a message assuring we successfully
; catch the limit from self...
MessageRequester ("X", "Got Limit: " + Str(Limit.l))
While CallFunctionFast(*Object\Methods\Ret,*Object) < Limit.l
CallFunctionFast(*Object\Methods\Inc,*Object); This works too!
Wend
EndProcedure
This will work fine if you replace the function at the last code you post (that regarding to my question), and no "real-name" calling is need at all.
As Johnny says, lets keep walking!
