[Visual Basic] Public Function RunEbsScript( _ ByVal UserCodeType As EpUserCodeType, _ Optional ByVal Invocation As String = """", _ Optional ByRef ExitCode As Integer = _ ) As EpEbsScriptStatus [C#] public EpEbsScriptStatus RunEbsScript( EpUserCodeType UserCodeType, string Invocation, out int ExitCode ); [C++] public: EpEbsScriptStatus RunEbsScript( EpUserCodeType UserCodeType, String* Invocation, * int ExitCode ); [JScript] public function RunEbsScript( EpUserCodeType UserCodeType, String Invocation, int ExitCode ): EpEbsScriptStatus;
runs one of the macros EbsScript; if 'Invocation' is empty then the code will be run as main-program, otherwise the code in 'Invocation' will be executed
MacroBase Class | EbsOpen Namespace