Method of IScriptApplication
Access external module (include) without exposing it to global scope.
var pModule = ScriptApplication.__require(strPath);
==== Visual Basic Script ====
pModule = ScriptApplication.__require strPath
==== C++ ====
VARIANT Module; HRESULT hr = ScriptApplication.__require(strPath, &Module);
===== See Also ===== IScriptApplication