An example of using variables within the condition of selection commands for the KS 2: work with variables extension activity.
The Barefoot Computing project. www.barefootcas.org.uk