Udostępnij za pośrednictwem


ScriptEngineMinorVersion Function (Visual Studio - JScript)

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

function ScriptEngineMinorVersion() : int

Remarks

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

Example

The following example illustrates the use of the ScriptEngineMinorVersion function.

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

Requirements

Version 2

See Also

Reference

ScriptEngine Function (Visual Studio - JScript)

ScriptEngineBuildVersion Function (Visual Studio - JScript)

ScriptEngineMajorVersion Function (Visual Studio - JScript)