English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-12-27 09:35:02 · 2 answers · asked by Bonnie W 1 in Computers & Internet Programming & Design

2 answers

Most commonly, a script is a piece of JavaScript or VBScript code either embedded in HTML (in a web page) or in a seperate file that an HTML document may reference. Scripts allow for a web page to be interactive. A web page is merely a text document until you add some script (or backend code). For example, drop-down menus and other dynamic (changing) parts of a web page are usually possible because of script(s).

2006-12-27 09:40:44 · answer #1 · answered by say2joe 3 · 0 0

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. Thus, scripts are often distinguished from programs, because programs are converted permanently into binary executable files (i.e., zeros and ones) before they are run. Scripts remain in their original form and are interpreted command-by-command each time they are run.[1][2] Scripts were created to shorten the traditional edit-compile-link-run process. The name 'script' is derived from, the written script of the performing arts, in which dialog is set down to be interpreted by actors and actresses--the programs. Early script languages were often called batch languages or job control languages. Scripting languages can also be compiled, but because interpreters are simpler to write than compilers, they are interpreted more often than they are compiled.

The term scripting language is not technical, though embedding and dependence on a larger system are usually criteria. In computer games, scripts extend game logic, tailoring the game engine to particular game data. Scripts also make applications programmable from within, so that repetitive tasks can be quickly automated. Of course, not every scripting system that grows beyond its original design and delegation acquires a new name. Full-blown in-game languages such as UnrealScript exist, and JavaScript is a very influential standard, supported by virtually every browser on the market.

2006-12-27 18:03:12 · answer #2 · answered by Anonymous · 1 0

fedest.com, questions and answers