FACTOID # 145: Three of the top ten countries for GDP per capita are island nations: Bermuda, Cayman Islands, and Iceland.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > JScript .NET

JScript .NET is a .NET programming language developed by Microsoft as a natural successor to Microsoft's Active Scripting language JScript. Microsoft . ... A programming language is an artificial language that can be used to control the behavior of a machine, particularly a computer. ... Microsoft Corporation, (NASDAQ: MSFT, HKSE: 4338) is a multinational computer technology corporation with global annual revenue of US$44. ... Active Scripting (formerly known as ActiveX Scripting) is the technology used in Windows to implement component-based scripting support. ... JScript is the Microsoft implementation of the ECMAScript scripting programming language specification. ...


Both JScript and JScript .NET are languages whose syntax is based on that of C language. JScript has no relation to Sun Microsystems' Java language.[1] The primary differences between JScript and JScript .NET can be summarized as follows: C is a general-purpose, block structured, procedural, imperative computer programming language developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system. ... Sun Microsystems, Inc. ... “Java language” redirects here. ...


The original JScript is a scripting language, and as such programs (or more suggestively, scripts) can be executed without the need to compile the code first. This is not the case with the JScript .NET command-line compiler, since this next-generation version relies on the .NET Common Language Runtime (CLR) for execution, which requires that the code be compiled to Common Intermediate Language (CIL), formerly called Microsoft Intermediate Language (MSIL), code before it can be run. Nevertheless, JScript .NET still provides full support for interpreting code at runtime (eg, via the Function constructor or the eval function) and indeed the interpreter can be exposed by custom applications hosting the JScript .NET engine via the VSA interfaces. This article or section should be merged with script programming language In computer applications, a script, roughly speaking, is a computer program that automates the sort of task that a user might otherwise do interactively at the keyboard. ... A computer program is a collection of instructions that describe a task, or set of tasks, to be carried out by a computer. ... This article or section should be merged with script programming language In computer applications, a script, roughly speaking, is a computer program that automates the sort of task that a user might otherwise do interactively at the keyboard. ... The Common Language Runtime (CLR) is the virtual machine component of Microsofts . ... Common Intermediate Language (CIL, pronounced either sill or kill) (formerly called Microsoft Intermediate Language or MSIL) is the lowest-level human-readable programming language in the Common Language Infrastructure and in the . ...


Secondly, the original JScript had a strong foundation in Microsoft's ActiveX/COM technologies, and relied primarily on ActiveX components to provide much of its functionality (including database access via ADO, file handling etc.), whereas JScript .NET uses the .NET Framework to provide equivalent functionality. For backwards-compatibility (or for where no .NET equivalent library exists), JScript .NET still provides full access to ActiveX objects via .NET / COM interop using both the ActiveXObject constructor and the standard methods of the .NET Type class. ActiveX is Microsoft technology used for developing reusable object oriented software components. ... Component Object Model (COM) is a platform for software componentry introduced by Microsoft in 1993. ... // Microsoft ActiveX Data Objects (ADO) is a set of Component Object Model objects for accessing data sources. ... It has been suggested that Com interop be merged into this article or section. ...


Although the .NET Framework and .NET languages such as C# and Visual Basic .NET have seen widespread adoption, JScript .NET has never received much attention, by the media or by developers. It is not supported in Microsoft's premier development tool, Visual Studio .NET, and it's unlikely that future versions of .NET will feature JScript .NET prominently. C# (pronounced see-sharp) is an object-oriented programming language developed by Microsoft as part of their . ... Visual Basic . ... The Visual Studio . ...


However, ASP.NET supports JScript .NET. ASP.NET logo ASP.NET is a web application framework marketed by Microsoft that programmers can use to build dynamic web sites, web applications and XML web services. ...

Contents

Language differences

The following are prime examples of languages differences between other .NET languages, including comparisons.


Differences with C#

  • JScript variables do not need to be declared as a certain type.
  • JScript .NET does not have a main() function that the operating system must call directly when executing a JScript .NET application, as such, JScript .NET program flow is based entirely on global code.
  • JScript .NET, because of its very loose type checking system can be very easy to learn, since the convention of explicit type declaration is not required at all.
  • JScript .NET does not require explicit references to the .NET Framework Base Class Library, as certain functions found in earlier versions of JScript, are present in JScript .NET (e.g. functions for finding the tangent of an angle for a right triangle).
  • JScript .NET is closely linked to C syntax, and is thus very easy to learn for C#, Java or C++ developers.
  • While JScript .NET can be used to create Windows Forms applications, JScript .NET will have some trouble, as delegates can only be consumed in JScript .NET and not created. Thus, custom events are hard to emulate in JScript .NET.

In computer science and mathematics, a variable is a symbol denoting a quantity or symbolic representation. ... In some programming languages, the main function is where a program starts execution. ... In computer science, a subroutine (function, procedure, or subprogram) is a sequence of code which performs a specific task, as part of a larger program, and is grouped as one, or more, statement blocks; such code is sometimes collected into software libraries. ... In mathematics, the trigonometric functions (also called circular functions) are functions of an angle. ... For alternate meanings, such as the musical instrument, see triangle (disambiguation). ... The syntax of the C programming language is a set of rules that defines how a C program will be written and interpreted. ... The title given to this article is incorrect due to technical limitations. ... “Java language” redirects here. ... C++ (pronounced see plus plus, IPA: ) is a general-purpose programming language with high-level and low-level capabilities. ...

Differences with C++

  • JScript .NET does not require explicit type declaration on variables. (In C++, the use of templates and generics can be compared to this, loosely emulated with template specialization etc)
  • JScript .NET also does not require explicit type casts on variable use in the program. Code used to retrieve a string of characters, but only used for integer numbers can be casted implicitly; the vice-versa can be done without error at compile time, but there is a chance of loss of precision or data.

e.g.: In some programming languages, the main function is where a program starts execution. ... In computer science, a subroutine (function, procedure, or subprogram) is a sequence of code which performs a specific task, as part of a larger program, and is grouped as one, or more, statement blocks; such code is sometimes collected into software libraries. ... In computer science, a declaration specifies a variables dimensions, identifier, type, and other aspects. ... C++ (pronounced see plus plus, IPA: ) is a general-purpose programming language with high-level and low-level capabilities. ... In computer science, type conversion or typecasting refers to changing an entity of one data type into another. ...

 import System; var _name; Console.WriteLine("Hello, what's your name?"); Console.WriteLine("Type your name: "); var _name = Console.ReadLine(); //provide a number and it will output it below, without error Console.WriteLine("Hello, " + _name); 

C++ (pronounced see plus plus, IPA: ) is a general-purpose programming language with high-level and low-level capabilities. ... In object-oriented programming, a class is a programming language construct that is used to group related instance variables and methods. ... Object-oriented programming (OOP) is a computer programming paradigm in which a software system is modeled as a set of objects that interact with each other. ... Multiple inheritance refers to a feature of object-oriented programming languages in which a class can inherit behaviors and features from more than one superclass. ...

Differences with Java

  • JScript .NET syntax and lexical conventions are similar to Java in that both are derived from C. JScript was originally Microsoft's implementation of ECMAScript, which is more commonly known as JavaScript, though it is unrelated to Java. Thus, users of Java and other C-derived languages will find JScript easier to learn.
  • JScript .NET allows developers to use untyped variables, and can sometimes infer their type from their usage to optimize the compiled code. On the other hand, Java requires all variables to be typed.
  • JScript .NET can add properties and methods to objects in run-time, while Java objects always conform to their declared interface.

“Java language” redirects here. ... C is a general-purpose, block structured, procedural, imperative computer programming language developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system. ... ECMAScript is a scripting programming language, standardized by Ecma International in the ECMA-262 specification. ... It has been suggested that Client-side JavaScript be merged into this article or section. ... In computer science and mathematics, a variable (IPA pronunciation: ) (sometimes called a pronumeral) is a symbolic representation denoting a quantity or expression. ... In computer science, runtime describes the operation of a computer program, the duration of its execution, from beginning to termination (compare compile time). ... In computer programming, a global variable is a variable that does not belong to any subroutine in particular and can therefore can be accessed from any context in a program. ...

Differences with older versions of JScript

  • JScript .NET allows developers to declare variables and functions with type information (e.g., var x : String;), while type information for JScript's variables and functions cannot be declared (e.g., var x;).
  • JScript .NET scripts are not interpreted, but executed independently. When executed, a JScript .NET application will invoke the CLR. The CLR will execute the MSIL instructions without using an interpreter.
  • JScript .NET can be run without the presence of a browser or another scripting engine as the compiler can generate standalone executables and assemblies. However these still require the JScript .NET runtime and .NET Framework to be installed in order to run.
  • JScript .NET provides access to the .NET Framework BCL (Base Class Library), providing much more functionality.
  • JScript .NET, like older versions of JScript, provide in built functions to keep common functions simple.
  • JScript .NET is only available as a scripting language for ASP.NET, the technology used to generate web pages; thus, JScript .NET takes a similar role to PHP and other server-side scripting languages. Internet Explorer, however, is still using only the older JScript engine, so JScript.NET cannot be used to script web pages (or HTAs or HTCs). In this regard, JScript is much more versatile than JScript .NET.

The Common Language Runtime (CLR) is the virtual machine component of Microsofts . ... During compilation, .NET code is translated into Microsoft Intermediate Language (MSIL) rather than machine-specific binary code. ... Scripting languages (commonly called scripting programming languages or script languages) are computer programming languages that are typically interpreted and can be typed directly from a keyboard. ... It has been suggested that Com interop be merged into this article or section. ... The Base Class Library (BCL) is a library of types and functionalities available to all languages using the . ... ASP.NET logo ASP.NET is a web application framework marketed by Microsoft that programmers can use to build dynamic web sites, web applications and XML web services. ... For other uses, see PHP (disambiguation). ...

See also

JavaScript OSA, (originally JavaScript for OSA, abbreviated as JSOSA), is a freeware inter-process communication scripting language for the Macintosh computer. ... The first Macintosh computer, introduced in 1984, upgraded to a 512K Fat Mac. The Macintosh or Mac, is a line of personal computers designed, developed, manufactured, and marketed by Apple Computer. ...

Notes

  1. ^ (see JavaScript#Related languages for discussion on the confusing naming)

It has been suggested that Client-side JavaScript be merged into this article or section. ...

References



 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.