ScriptEngineMajorVersion Function

Tips >>ASP Functions

WANTS TO MAKE SOFTWARE WITHOUT KNOWLEDGE OF ASP? CLICK HERE


ScriptEngineMajorVersion function returns the major version number of the script engine. There are some examples whish shows that the ScriptEngineBuildVersion function is used to return the build version number of the scripting engine. The return value corresponds directly to the version information contained in the DLL for the scripting language in use.

The Syntax of the ScriptEngineMajorVersion is :-

ScriptEngineMajorVersion

Its Description is :-

String Description
Javascript Indicates that javascript is the current scripting engine.
VBA Indicates that Visual Basic for Applications is the current scripting engine.
VBScript Indicates that Visual Basic Scripting Edition is the current scripting engine.

Example#1 :-

Code :-
<%
=ScriptEngineMajorVersion
%>
Output :-
5

Example#2 :-

Code :-
<%
=ScriptEngineMajorVersion
%>
Output :-
4

Example#3 :-

Code :-
Function GetScriptEngineInfo
Dim s
s = "" ' Build string with necessary info.
s = ScriptEngine & " Version "
s = s & ScriptEngineMajorVersion & "."
s = s & ScriptEngineMinorVersion & "."
s = s & ScriptEngineBuildVersion
GetScriptEngineInfo = s '
Outpput :-
Return the results.
E-mail : sales@virtualsplat.com
Phone : +91-9892413501

Whatsapp Icon +91-9967648641

Whatsapp Icon +91-9967648641