Calling an overloaded method from Delphi to DWScript

In the dwsDatabaseLibModule.pas block, which is included in the engine, the class constructor is called by accessing the class via TProgramInfo.Vars []. Similarly, I thought I could call the overloaded method in the same way: info.Vars['TMyClass'].Method['MethodName'].Call .

Using the IInfo.Method property, how can I distinguish between overloaded methods?

+4
source share

All Articles