DOEVENTS statement

Purpose:

DOEVENTS yields execution of the current thread so that the operating system can clean out the message loop and execute any other pending business.

Syntax 1:

DOEVENTS()

Syntax 2:

DOEVENTS