XSalScript

PPJ.Runtime.XSal.XSalScript

Namespace: PPJ.Runtime.XSal

Assembly: PPJ.Runtime.XSal.49 (4.9.0.0)

Implementation of XSalScript

public class XSalScript

Constructors

Constructs a new empty XSalScript object.

Constructs a new XSalScript object and compiles the specified source code.

NameTypeDescription

source

Properties

Object: Returns/Sets the context for the execution of the script.

Boolean: Returns/Sets the C# flag to turn on the preprocessor. When this property is false, the preprocessor tries to adapt old XSalScript syntax to C# syntax.

Boolean: Returns/Sets the debug mode. When on the script will pop up the error message box.

IntPtr: Handle

Boolean: Returns true if the script object contains a list of errors.

ScriptEngine: Returns the instance of the interpreter used by XSalScript.

String: Returns the last error message.

String: Returns/Sets the script source code.

Methods

Adds a line to the script.

ParameterTypeDescription

line

Returns: Boolean.

Dispose XSalScript

create from Handle

ParameterTypeDescription

handle

Returns: XSalScript.

Executes the compiled script and returns the return value.

Returns: String.

Last updated