Syntax Error
- Definition of term
- A syntax error in a program is an error where a statement or combination
of statements is not well formed.
- Analogy
- "Dog the run walk" is a natural language syntax error. The sentence
is not well formed.
- Example
- In computer
languages, similar errors can be made. For example,
int ,;
is a syntax error. This statement is not well formed.