This article describes the main language elements or 'grammar' used by the Small Basic language and gives some suggestions for further study. There are several 'getting started' guides, this is just another with a slightly different emphasis.
A variable is set to contain the result of something else. '=' is used to define the assignment. For example we can set the variable x to contain the value 3.14.
Or we could set the variable 'ellipse' to a new circle (ellipse) with radius 20 pixels.
Perform an operation using an object, for example clear the GraphicsWindow.
A special keyword statement like defining a subroutine block, a loop block or a conditional block. A block is a group of statements within the special keywords. These keyword blocks are are used to control the program flow by doing the contents of a subroutine,
repeating something (loop) or doing different code depending on values in variables (conditional).