BenSelect Documentation
CompileScript Method
See Also  Send Feedback
Selerix.Foundation.Interfaces Namespace > IJScriptHostService Interface : CompileScript Method
script
The script.
scriptIdent
The script identification
includeFiles
The include files.
Compiles the script.

Syntax

JScript 
function CompileScript( 
   script : String,
   scriptIdent : String,
   includeFiles : IList
) : CompiledJScript;

Parameters

script
The script.
scriptIdent
The script identification
includeFiles
The include files.

Return Value

CompiledJScript.

Exceptions

ExceptionDescription
Selerix.Foundation.SelerixExceptionJScriptHost: EvaluatorBase wasn't compiled
Selerix.Foundation.SelerixExceptionnull;null

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2024 All Rights Reserved.