Globals Module (Visual Basic)
The Globals module contains script engine functions.
Remarks
This module supports the Visual Basic language keywords and runtime library members that provide information about the runtime currently in use.
Members
Example
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
See Also
Reference
ScriptEngine Property
ScriptEngineBuildVersion Property
ScriptEngineMajorVersion Property
ScriptEngineMinorVersion Property
Keywords and Members by Task
Visual Basic Language Keywords
Visual Basic Run-Time Library Members
Keywords Compared in Different Languages