Appendix: Common Errors

This appendix offers a brief overview of common errors that occur in Processing, what those errors mean and why they occur. The language of error messages can often be cryptic and confusing, mostly due to their origins in the Java programming language.

For these error messages, we will use the following conventions:

Variables in the error messages will be named “myVar”.

Arrays in the error messages will be named “myArray”.

If the error is specifically related to an object variable, the variable will be named “myObject”.

If the error is related to a class, the class will be named “Thing”.

If the error is related to a function, the function will be named “function”.

ERROR PAGE NO.
unexpected token: _____ 440

Get Learning Processing now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.