Clever Geek Handbook
📜 ⬆️ ⬇️

JScript

JScript is a scripted programming language from Microsoft , which is an implementation of the ECMAScript standard . JScript syntax is very similar to Netscape's JavaScript , but, in addition to adding client scripts to web pages (which was the only JavaScript function before the Mozilla project appeared), JScript can also be used for other purposes, for example:

  • automate the administration of Windows systems;
  • creating ASP pages.
JScript
Semanticsimperative
Language class
Execution typescreenwriting
Appeared in
Developer
Release
Type systemlax, dynamic
Basic implementations:ASP , Windows Script Host
DialectsJScript.NET
Experienced influence
OS
Site

Here is an example of a small JScript program that (when launched within the Windows Script Host ) brings up a dialog box (the characters after the signs // are comments ):

  // Declare a variable
  var strMessage ;
  // Assigning a variable to a value
  strMessage = "Wikipedia is the free encyclopedia" ;
  // Display message
  WScript .  Echo ( strMessage );

To run the script from the command line , the following command is usually used (in the case of a file named file.js ):

  cscript file.js

JScript.NET

The JScript language has been further developed in the form of the JScript.NET language, which is oriented to work within the framework of the Microsoft .NET platform. Despite the similar syntax, this is a completely different language. It is more strictly typed and compiled, not interpreted.

Literature

  • Justin Rogers. Programming on Microsoft Jscript. NET = Microsoft Jscript. NET Programming. - M .: “Williams” , 2002. - p. 352. - ISBN 0-672-32148-3 .

Links

  • JScript (Windows Script Technologies) (rus.) - the official guide to JScript from Microsoft .
  • Russian Manual and JScript Language Dictionary
Source - https://ru.wikipedia.org/w/index.php?title=JScript&oldid=99586655


More articles:

  • Petrovsky district (Crimea)
  • To victory and beyond
  • Gilyarovskaya, Nadezhda Vladimirovna
  • Godred II (King of Maine)
  • 813 year
  • Zaretsky, Konstantin Vyacheslavovich
  • Delirium (album by Elli Golding)
  • Greedy Rich Man
  • Bogolepov, Ivan Dmitrievich
  • Platov, Oleg

All articles

Clever Geek | 2019