This documentation is archived and is not being maintained.
Globals Module (Visual Basic)
The Globals module contains script engine functions.
The following example uses the ScriptEngineMajorVersion property and related properties to return a string describing the current runtime information:
Function getRuntimeInfo() As String Dim runtime As String = ScriptEngine & " Version " runtime &= CStr(ScriptEngineMajorVersion) & "." runtime &= CStr(ScriptEngineMinorVersion) & "." runtime &= CStr(ScriptEngineBuildVersion) ' Return the current runtime information. Return runtime End Function