Forum Discussion
Andrey_M
10 years agoContributor
Try Runner.CallMethod
Here is example of function calling using variable as name
Here is example of function calling using variable as name
Function LogMe( SomeText )
Log.Message( "I'm here!" & " " & SomeText )
End Function
Function StartMe
Dim FunctionName
FunctionName = "Unit1.LogMe" ' full notation of function to be called: unit and name
Runner.CallMethod FunctionName, "Say This!"
End Function
The only drawback of this solution is that you have to specify unit name where your function is stored.
More detailed description of this method is here.
Related Content
- 2 months agoNicolaFilosa_SE
- 5 years agoAurore
Recent Discussions
- 2 days agoMW_Didata