General Definition of Syntax
- Syntax is a subfield of grammar and referred to the doctrine of the sentence. It determines how individual components - the words - meaningful phrases to emerge.
Syntax in the program Code
- When programming, the Syntax defines the formal rules on permissible language elements of a programming language. It also regulates the extent to which may be used for these elements in a program.
- The programming language can be understood as an interface between man and Computer.
- So as you can understand as a human being only useful structured sets, a Computer understands only programs that send useful commands formulated to him. That is why it is important, when programming, the Syntax of the relevant programming language to be observed.
- As a man you have imagination. So you can decipher sentences and understand the structure wrong. A computer is not (yet) unimaginative: So he can understand a command and execute it, must be the Code error-free, the rules of Syntax are observed. Otherwise, the program is not working.

Program Code of our website
Some programs have names that don't at first glance tell what a program is. An example of this is the so-called Firmware - what it is, you will learn in the next article.