What does unexpected token mean in processing?

edited August 2014 in JavaScript Mode

What does unexpected token mean in processing? That's the error message I got when I tried to run sketch in java.

Answers

  • _vk_vk
    edited August 2014

    It means that there is something wrong written in the code. Just after those words tehre is the offending character. Like "unexpected token: x". So you got a senseless 'x' in your code. If you didn't noticed that, perhaps is a period or other punctuation sign...

  • edited August 2014
    Syntax Error

    Missing closing )'s or }'s and a unbalanced quoted string can get things out of wack. An unexpected void in a tab often means a missing closing quote in another tab left the compiler looking and looking right on into the next tab.

    When this type of error occurs review your most recent edits for introduced syntax errors.

Sign In or Register to comment.