What Are Scripts

Table of contents:

What Are Scripts
What Are Scripts

Video: What Are Scripts

Video: What Are Scripts
Video: Scripting versus Programming 2024, May
Anonim

The word "script" today is used to call a program written in any high-level programming language. "High level" in relation to scripting programming languages means that the instructions of this language are more adapted to the understanding of a person (programmer). In contrast to scripting languages, there are low-level languages that are more focused on the usability of computer processors.

What are scripts
What are scripts

Instructions

Step 1

The word "script" in translation means "script" and this quite accurately defines the meaning of creating scripts - the programmer must write a script according to which the computer will carry out the operations provided by the creator and react to user actions and other information coming from outside.

Step 2

There is no single scripting language for all purposes - some groups of such programming languages are focused on use on web servers (for example, PHP), others as console applications (for example, VisualBasic), etc. In addition, many applications come with their own scripting languages. So software terminals for stock trading use scripts written in their own language (for example, MQL). There are scripts for use with Flash elements of web pages (Action Script language), most complex games also allow the use of scripts in their own languages. Sometimes applications can use even several levels of such scripts - for example, the spreadsheet editor Microsoft Office Excel has a built-in programming language for processing data, in addition to which you can use "macros", that is, scripts that simulate user actions.

Step 3

Scripts in different programming languages use different design rules and syntax for writing commands, and are also saved in files of different formats and require different software to run. All this must be taken into account when choosing a scripting language. In addition, each scripting language has its own specialized editors, and sometimes even entire software systems, including debugging, compilation and decompilation programs (translating high-level scripts into machine codes understandable to the processor and back), etc.

Recommended: