adsense


Showing posts with label ADVANCE VB SCRIPT SCRIPTENGINE. Show all posts
Showing posts with label ADVANCE VB SCRIPT SCRIPTENGINE. Show all posts

Thursday, 12 November 2015

ADVANCE VB SCRIPT SCRIPTENGINE PAGE 212

COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button




ADVANCE VB SCRIPT SCRIPTENGINE





ScriptEngine 


ScriptEngine represents the details of the scripting language in use. 
It is also used in combination with ScriptEngineMajorVersion, 
ScriptEngineMinor Version, ScriptEngineBuildVersion which gives 
the major version of the vbscript engine, minor version 
the vbscript engine, and the build version of vbscript respectively. 
Syntax 
ScriptEngine  
Example 
<!DOCTYPE html> 
<html> 
<body> 
<script language="vbscript" type="text/vbscript"> 
  
  Dim scriptdetails 
  scriptdetails =  " Version " & ScriptEngine & " - " 
  'For getting Major version, use ScriptEngineMajorVersion' 
   
  scriptdetails = scriptdetails & ScriptEngineMajorVersion & "." 
   
  'For getting Minor version, use ScriptEngineMinorVersion' 
  scriptdetails = scriptdetails & ScriptEngineMinorVersion & "." 
   
  'For getting Build version, use ScriptEngineBuildVersion' 
  scriptdetails = scriptdetails & ScriptEngineBuildVersion  
   
  Document.write scriptdetails 
 
</script> 
</body> 
</html> 
Save the file with .html extension upon executing the script in IE , 
the following result is displayed on the screen. 
Version VBScript - 5.8.16996