Steht auf der Seite, die wir vorhin verlinkt haben, gaaanz unten.
The component version of Pascal Script also supports execution of scripted functions. This works by using the ExecuteFunction method.
Delphi-Quellcode:
ShowMessage(CompExec.ExecuteFunction([1234.5678, 4321,
'test'],
'TestFunction'));
This will execute the function called 'TestFunction' with 3 parameters, a float, an integer and a string. The result will be passed back to ShowMessage.
In deinem Fall vielleicht so...
Ergebnis := CompExec.ExecuteFunction([],'SagWas'));