Call local proc parameterized
Author: bschmidt@arz-emmendingen.de (BenjaminSchmidt)
Hi,
from time to time I need to write unit-tests for local procs. So I write an operation as interface to the local proc and then call the operation.
By this I´m getting a lot of operations, which are not needed for the final apllication! My thought was to implement only one operation, in which I could set the local function as parameter.
Something like:
string ps_LocalFunc
string ps_FunctionParameters
....
Then I would like to call the local function:
call ps_LocalFunc(ps_FunctionParameters)
I know this is possible for Operations:
newinstance ps_Service, "SOME_NAME"
activate "SOME_NAME"."%%ps_Operation%%%"(sParamstring)
But is this also possible for local functions?
Thanks a lot.
greets