This example demonstrates using a predicate procedure for
handling certain kinds of events.
