invalid token error

A syntax error is a mismatch in the syntax of data input to a computer system that requires a specific syntax. For source code in a programming language, a compiler detects syntax errors before the software is run; at compile-time, whereas an interpreter detects syntax errors at run-time. A syntax error can occur based on syntax rules other than those defined by a programming language. For example, typing an invalid equation into a calculator (an interpreter) is a syntax error.
Some errors that occur during the translation of source code may be considered syntax errors by some but not by others. For example, some say that an uninitialized variable in Java is a syntax error, but others disagree – classifying it as a static semantic error.

View More On Wikipedia.org
  • 1

    breaky

    Standard Member From Tilburg
    • Messages
      9
    • Reaction score
      5
    • Points
      2
  • Back
    Top Bottom