TOPIC 8.2.1
Event-Driven Programming and Loops
Event-driven programming differs from procedure-driven programming because the flow of the program is controlled by the occurrence of certain events. The event-driven program is always waiting for something to happen. It will execute a different block of code depending on which event occurs. Procedure-driven programs must pause and wait for a response from the user. In this case the program is in control of which code gets executed.
For more information on event-driven programming, click the links below.