August 2001
Intermediate to advanced
656 pages
18h 5m
English
ScriptEngineMinorVersion Function
Microsoft.VisualBasic.Globals
ScriptEngineMinorVersion( )
An Integer containing the minor version number
Indicates the minor version (the number to the right of the decimal point) of the programming language currently in use
This function is also implemented 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 ...
This function is new to VB .NET.
Read now
Unlock full access