Chapter 3 Variables and Operators
This chapter describes how to write statements using variables, which store values, and operators, which are symbols that perform a computation. We also explain three kinds of programming errors and offer additional debugging advice.
To keep examples concise, not every code sample is a full runnable program. Samples will often just be a single statement, or even part of a statement. If you want to test one of these examples, you will have to paste them into a full program. One easy way to do this is to use the Scratch ActiveCode - look for the pencil icon in the navigation bar at the top of the screen in this book. If you click on it, a window will open where you can write and run programs.