EbsOpen Class Library for EBSILON®Professional

MacroBase.RunEbsScript Method 

[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;

Remarks

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

See Also

MacroBase Class | EbsOpen Namespace