Language Reference Guide : System Classes : GhostExec Class : PurgeDBEvent Method
 
Share this page          
PurgeDBEvent Method
The PurgeDBEvent method removes database events from a frame's queue.
This method has the following syntax:
integer = GhostExec.PurgeDBEvent([dbeventname = varchar(256)])
This method has the following parameter:
dbeventname
Specifies the database events that should be removed from the pending event queue for the frame and returns the number of database events removed from the queue. If you do not specify this parameter, OpenROAD removes all of the frame's database events. You cannot use pattern matching in the dbeventname value.
You can use this method in conjunction with the resume statement to control the event queue. When a resume statement executes, OpenROAD removes all pending events except user and database events from the queue. To remove the pending database events, also, use the PurgeDBEvent method.
Note:  To remove user events from the queue, use the PurgeUserEvent Method.