// page's name
$current = 'statements';
// next page's name
$next = 'boolean';
// previous page's name
$previous = 'introduction';
// print top of page
In programming, a statement is simply a directive that tells the computer to do something. Think of it as a command or an instruction. In Scratch, any block whose label reads like a command is a statement.
One such block instructs a sprite to say something:
Another such block instructs a sprite to go to some location:
Sometimes, you only want a statement to be executed under certain conditions. Such conditions are defined in terms of Boolean expressions, to which we turn our attention next.
// print bottom of page