Joke Collection Website - Talk about mood - What is a script and what is the use of a script?

What is a script and what is the use of a script?

What is a scripting language?

1. scripting language (JavaScript, VBscript, etc. ) is between HTML and C, C++, Java, C# and other programming languages.

HTML is usually used to format and link text. Programming languages are usually used to send a series of complex instructions to machines.

2. There are many similarities between scripting language and programming language. Its function is similar to that of programming language, and it also involves variables. The biggest difference between programming language and programming language is that the grammar and rules of programming language are stricter and more complicated.

3. Relationship with program code: Script is also a language and is also composed of program code.

Note: Scripting languages generally have corresponding scripting engines to explain execution. They usually need an interpreter to run. JAVASCRIPT, ASP, PHP, PERL PHP and PERL are all scripting languages. After compiling the link C/C++, an exe file that can be executed independently can be formed.

4. Scripting language is an explanatory language, such as VBScript, JavaScript, InstallShield script, etc. Unlike c\c++, it can be compiled into binary code and exists as an executable file.

Scripting language does not need to be compiled, but can be used directly, and the interpreter is responsible for the interpretation.

5. Scripting languages generally exist in the form of text, similar to commands.

For example, if you have installed a program called aaa.exe, you can use. Aa extension.

You specified a set of writing rules (grammar). Aa file. When others write. Aa files, which your program uses to understand the author's intentions and respond. Then, this set of rules is a scripting language.