__include

Method of IScriptApplication

Dynamically include file into global scope.

Return Value

JavaScript

var pbSuccess = ScriptApplication.__include(strPath);

Visual Basic Script

pbSuccess = ScriptApplication.__include strPath

C++

VARIANT_BOOL bSuccess;
HRESULT hr = ScriptApplication.__include(strPath, &bSuccess);