Search
Compiler.Compile Method (String, Boolean)
See Also
 





Returns a ByteCode object corresponding to the specified source code. The returned byte code can be subsequently evaluated by calling its Evaluate method.

Namespace: MindFusion.Scripting
Assembly: MindFusion.Scripting

 Syntax

C#  Copy Code

public static ByteCode Compile (
    string source,
    bool normalize
)

Visual Basic  Copy Code

Public Shared Function Compile ( _
    source As String, _
    normalize As Boolean _
) As ByteCode

 Parameters

source

The script to compile.

normalize
true to encase source in square brackets if it is not encased already; otherwise, false.

 Return Value

A ByteCode instance representing the compiled script.

 See Also