Search Results for

    Show / Hide Table of Contents

    Calling a script function from the Delphi code

    To call a script function, use TfsScript.CallFunction method. The first parameter is the name of the called function, the second one is the function parameters.

    // call to 'function ScriptFunc(s: String; i: Integer)'
    val := fsScript1.CallFunction('ScriptFunc', VarArrayOf(['hello', 1]));  
    
    Back to top © Copyright Fast Reports Inc.