The Automation Engine processes scripts line by line. The results of executed script elements are regularly written to the AE database (e.g., a value for a Variable object which has been set using :PUT_VAR).
This process is also referred to as Commit. Other scripts can only access these new or modified values when they have been entered in the database.
The Automation Engine automatically makes a Commit every five seconds. It is additionally made in the following script elements:
The statement :WAIT 0 enforces a Commit.