ScriptEngineMinorVersion Property

   
ScriptEngineMinorVersion Property

Class

Microsoft.VisualBasic.Globals

Syntax

 ScriptEngineMinorVersion 

Return Value

An Integer containing the minor version number

Description

Indicates the minor version (the number to the right of the decimal point) of the programming language currently in use

Programming Tips and Gotchas

  • This property is implemented as a function in the JScript scripting engine.

  • If your script requires some functionality available in a baseline minor version, ordinarily you would want to make sure that the script is running on that version or a later version. Test for a minor version with a code fragment like:

     Dim iMajor As Integer = ScriptEngineMajorVersion(  ) Dim iMinor As Integer = ScriptEngineMinorVersion(  ) If (lMajor =   x   And lMinor >=   y   ) Or (lMajor >   x   ) Then    ... 

VB.NET/VB 6 Differences

This property is new to VB.NET.

See Also

ScriptEngine Property, ScriptEngineBuildVersion Property, ScriptEngineMajorVersion Property

   


VB.Net Language in a Nutshell
VB.NET Language in a Nutshell
ISBN: B00006L54Q
EAN: N/A
Year: 2002
Pages: 503

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net