introduction details downloads links contact
linking up analogue devices switches counting actors sequencing prioritising
Rather than just responding to to BEGIN messages, counting actors respond to changes in their value; a number between 0 and 9999. They constantly compare their value with a set of target values, which can be either fixed values or other counting actors.
When the value matches (ie it is ‘greater than’, ‘equal to’ or ‘less than’ the appropriate target) counting actors send messages on, much like other actors.
Another way that a counting actor can be used is simply as a value (a variable) in messages sent by other actors. The value could be-

• sent to other counting actors
• used to set the speed of motors
• used to control the flashing rate of lights
• used to control the time delay of a message