This documentation is archived and is not being maintained.

ScriptEngineBuildVersion Function (Visual Studio - JScript)

Returns the build version number of the scripting engine in use.

function ScriptEngineBuildVersion() : int

The return value corresponds directly to the version information contained in the dynamic-link library (DLL) for the scripting language in use.

The following example illustrates the use of the ScriptEngineBuildVersion function:

function GetScriptEngineInfo(){
   var s;
   s = ""; // Build string with necessary info.
   s += ScriptEngine() + " Version ";
   s += ScriptEngineMajorVersion() + ".";
   s += ScriptEngineMinorVersion() + ".";
   s += ScriptEngineBuildVersion();