ScriptEngineMinorVersion Function

Office VBScript

Microsoft® Visual Basic® Scripting Edition ScriptEngineMinorVersion Function  Language Reference 
Version 2 


Description
Returns the minor version number of the scripting engine in use.
Syntax
ScriptEngineMinorVersion
Remarks
The return value corresponds directly to the version information contained in the DLL for the scripting language in use.

The following example uses the ScriptEngineMinorVersion function to return the minor version number of the scripting engine:

Function GetScriptEngineInfo
  Dim s
  s = ""				' Build string with necessary info.
  s = ScriptEngine & " Version "
  s = s & ScriptEngineMajorVersion & "."
  s = s & ScriptEngineMinorVersion & "."
  s = s & ScriptEngineBuildVersion 
  GetScriptEngineInfo = s		' Return the results.
End Function