Runs macro code.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxbool RunThis(
string code
)
Function RunThis (
code As String
) As Boolean
bool RunThis(
String^ code
)
Parameters
- code String
-
Execute this code.
Return Value
Boolean
True if successful.
RemarksRunThis executes a single line of code as if it were one line
inside a Sub Main/End Sub block.
To run more than one line of code you must explicitly include
the Sub Main/End Sub block in the code.
The currently executing macro is suspended until this code completes.
Syntax or run-time errors trigger the
ErrorAlert event.
See Also