ASP ScriptEngine

Tips >>ASP Functions

WANTS TO MAKE SOFTWARE WITHOUT KNOWLEDGE OF ASP? CLICK HERE


The ScriptEngine function returns the scripting language in use. Returns a string representing the scripting language in use. The ScriptEngine function returns the name of the scripting language being used.

The Syntax of the ScriptEngine function is :-

ScriptEngine

Its Description is :-

String Description
VBScript Indicates that Microsoft® Visual Basic® Scripting Edition is the current script engine.
JScript Indicates that Microsoft JScript is the current script engine.
VBA Indicates that Microsoft Visual Basic for Applications is the current script engine.

Example#1 :-

Code :-
document.write(ScriptEngine & "<br />")
Output :-
VBScript

Example#2 :-

Code :-
<%
=ScriptEngine
%>
Output :-
VBScript

Example#3 :-

Code :-
function GetScriptEngineInfo(){
var s;
s = ""; // Build string with necessary info.
s += ScriptEngine() + " Version ";
s += ScriptEngineMajorVersion() + "."; s += ScriptEngineMinorVersion() + ".";
s += ScriptEngineBuildVersion();
Output :-
return(s);
}
E-mail : sales@virtualsplat.com
Phone : +91-9892413501

Whatsapp Icon +91-9967648641

Whatsapp Icon +91-9967648641