| .COM(n) Statement Details. |
|
  QuickSCREEN       Details       Example       Contents       Index |
| ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ |
| COM(n) Statement Details |
|
| Syntax |
|   |
|   COM(n) ON |
|   COM(n) OFF |
|   COM(n) STOP |
|   |
| The parameter n is the number of the communications port; n can be |
| either 1 or 2. |
|   |
| The COM ON statement enables communications event trapping. |
| If a character arrives at a communications port after a COM ON |
| statement, then the subroutine specified in the ON COM statement |
| is executed. |
|   |
| COM OFF disables communications event trapping. No communications |
| trapping takes place until another COM ON statement is executed. |
| Events occurring while trapping is off are ignored. |
|   |
| COM STOP inhibits communications event trapping so no trapping |
| takes place until a COM ON statement is executed. Events occurring |
| while trapping is inhibited are remembered and processed when the |
| next COM ON statement is executed. |