NET:LavishScriptAPI.LavishScript.ExecuteCommand

From Lavish Software Wiki
Jump to: navigation, search

Overview

Executes a LavishScript command.

Reference Library

Lavish.InnerSpace.dll

Fully Qualified Name

LavishScriptAPI.LavishScript.ExecuteCommand

Declaration

static public int ExecuteCommand(string Command)

Parameters

  • string Command
A LavishScript command

Return Value

  • int
The command's return value. A negative value indicates a "fatal" error, which would end a LavishScript script. Any further return value specialization is command-specific.

Examples

C#

LavishScript.ExecuteCommand("echo Hi");

See Also