What is the scripting language?

Source: Internet
Author: User

What is called the script reproduced from the network, address unknown ...

Script scripts are executable files written in a certain format, also known as macros or batch files, using a specific descriptive language. Scripts can usually be called and executed temporarily by the application. All kinds of scripts are now widely used in web design, because the script can not only reduce the size of the page and improve the speed of web browsing, but also can enrich the performance of the page, such as animation, sound and so on. For the most common example, when we click on the e-mail address on the Web page, we can automatically invoke the mail software such as Outlook Express or Foxmail, which is accomplished by scripting. Also such as Horn website http/www. Hongen. COM Some web pages in English news content will have a triangular symbol, click on it can hear English reading, which is also the script at work. Also because of these characteristics of the script, it is often used by some people with ulterior motives. For example, in a script to add some command to destroy the computer system, so that when the user browses the Web page, once this type of script is invoked, the user's system will be attacked. So the user should choose the security level based on the degree of trust to the Web page they are visiting, especially for pages that are illegal for their own content, not to be allowed to use scripts easily. The Security Settings dialog box allows you to easily disable and enable scripts by selecting the various settings under the Script option.

Dynamic programs generally have two ways to implement, one is binary, one is the script.
The binary way is to first compile the program we have written, into machine-recognized instruction code (such as. exe file), and then execute. This compiled program we can only execute, use, but do not see his program content.
The script is simply a text command, these text commands are visible to us (if you can open the view with Notepad, edit), the script is executed by an interpreter of the system, the translation of its strips into machine-identifiable instructions, and in accordance with the order of the program execution. Because the script executes with a more translation process, it is a little less efficient than the binary program.
The various dynamic languages we mentioned above, such as ASP, PHP, CGI, JSP, are all scripting languages.
According to current service rules, the virtual host Web site can only be implemented using scripting language

Scripts in English script. In fact, the script is the program, usually the programming language provided by the application. Applications include browsers (JavaScript, VBScript), multimedia authoring tools, application macros, and the batch language of authoring systems can also be grouped into scripts. The script and we usually use VB, C language difference is mainly:
1, the script syntax is relatively simple, relatively easy to master;
2, the script is closely related to the application, so it includes the function relative to the application itself;
3, the script generally does not have the universality, can handle the question scope to be limited.


--------------------------------------------------------------------------------

The script is the source program, is the Code program


--------------------------------------------------------------------------------

Scripts in English script. In fact, the script is the program, usually the programming language provided by the application. Applications include browsers (JavaScript, VBScript), multimedia authoring tools, application macros, and the batch language of authoring systems can also be grouped into scripts
Scripting languages
1. Scripting languages (Javascript,vbscript, etc.) are between HTML and c,c++,java,c# programming languages.

HTML is typically used to format and link text. Programming languages are often used to send a series of complex instructions to a machine.

2. There are many similarities between scripting languages and programming languages, and their functions are similar to those of programming languages, and they involve variables as well. The biggest difference between programming languages is that the syntax and rules of programming languages are stricter and more complex.

3. Relationship to Program code: script is also a language, which is also composed of program code.

Note: Scripting languages generally have corresponding scripting engines to interpret execution. They usually need an interpreter to run. Javascript,asp,php,perl,nuva are all scripting languages. C + + compiled, linked, can form the independent execution of EXE files.

4. A scripting language is an interpretative language, such as Vbscript,javascript,installshield script, which, unlike C/s, can be compiled into binary code as executable files.

Scripting languages do not need to be compiled and can be used directly by the interpreter to explain.

5. Scripting languages generally exist as text, similar to a command.

For example, if you set up a program called Aaa.exe, you can open the. aa file with the extension.
You specify a set of rules (syntax) for writing a. aa file, and when someone writes a. aa file, your program uses this rule to understand and respond to the author's intentions. So, this set of rules is the scripting language.
Script is the extension of batch files, is a pure text save the program, generally speaking, the computer script program is a set of control computer operation of the combination of operations, in which can achieve a certain logical branch.
The script program is relatively close to the natural language compared with the general program development, which can be interpreted and implemented without compiling, which is advantageous to rapid development or some lightweight control.
Now the scripting language is more, the general script language execution only with the specific interpretation of the executor, so as long as the system has the corresponding language interpreter program can do cross-platform.
Script, which is a collection of commands such as Bind and Alias, you can save this collection as a separate file and execute it when you need it, so that you can use it in CS.

Scripts can be stored in a file with a suffix named. CFG placed under the Cstrike folder and entered at the console when executed: exec (script filename). CFG can. For example, if you save a script as a buys.cfg file, enter it in the console: Exec buys.cfg can achieve the functionality we need. To implement a command, simply define the process (alias) and assign a button to the command, which can be accomplished by just assigning a good one. All scripts are implemented in this way.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.