ON COM(n) Statement Programming Example There is no programming example for the ON COM(n) statement. The following programming examples show how to integrate ON event statements, statements that enable traps, and event-handling subroutines into a working program: