Learn creative coding writing simple programs

146. Let's make errors I (syntax and type)

This is one of those videos where we unfortunately don't do any amazing graphics. But we do something almost as fun: we provoke errors. I hope that by seeing errors happen you can identify them and fix them quickly when they happens to you.

In part I we take a look at errors that happen when you misspell or forget something (syntax errors) and also at errors that happen when using the wrong type (int, float, String, etc).

Tags: error, bug, syntax, type

Code editor

You can make changes to the code below. Then
Reference

Questions and comments

Try to stay close to the topic of this episode. Use the Processing forums for help with unrelated Processing projects (or hire me for help ;-)

To indicate that a word in your comment is code, use the `backtick`. Example
Do `float` and `int` smell similar?
To highlight code blocks, surround it with ``` code-fences ``` like this:
``` void setup() { size(600, 600); } ```