Thank you, murthysuresh - I'll try that; It surely looks like a hack and probably won't do - since I need the results of the AFL function call afterwards; but I'll give it a try. Again, having a good interface to evaluating the AFL would make the plugins very powerful. A recent thread talked about eliminating combinations that do not make sense in optimization; this interface to evaluating AFL wouls make it sort of easy to implement that - by anyone, not just by Tomasz :))
Regards, Alex --- In [email protected], "murthysuresh" <mo...@...> wrote: > > why dont you call the commentary object thro your plugin and load any afl. > --- In [email protected], "redberryys" <redberryys@> wrote: > > > > Hi all, > > Is there a way to invoke (call or execute) AFL user-defined code from an > > Amibroker plugin? It can be by providing the AFL text in-place, or calling > > an AFL function by name. > > I'm not talking about the predefined AFL functions like TimeNum() etc. - > > these do work, through SiteInterface::CallFunction(). > > > > I'm referring to a function defined in an .afl file. > > > > This would be very-very useful to me, and I'm sure it would find many uses > > for everybody. > > > > Thank you very much, > > Alex > > >
