syntaxerror
nounUK /ˈsɪntæks ˈerə/
US /ˈsɪntæks ˈerər/
A syntax error is a mistake in the way you write code that makes the computer unable to understand it.
The program would not run because of a syntax error on the first line.
RELATED WORDS
OTHER MEANINGS
2. A message a computer shows to tell you that your code is written incorrectly.
She fixed the syntax error after reading the red warning message.
3. Any mistake in the rules or structure of a formal language, such as a math formula.
The calculator showed a syntax error when he typed the equation wrong.
4. In everyday talk, a slip in the way words are put together in a sentence.
His sentence had a syntax error, so the meaning was confusing.