Checks for pending events in the Windows event queue and executes them. Returns control as soon as the event queue is empty.
Yield()
Note: All pending events will be executed. This includes OpenInsight and Windows events. It is good practice to handle process dependent conditions (such as a Close event) after a Yield() call.
done = FALSE$ Loop ReadNext ID Else done = TRUE$ Until done * Allow for an event, such as CLICK Yield() * Process ID record Repeat |