[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
COM(n) Enable/Disable Comm Port Trapping
COM(n) {ON | OFF | STOP}
Enables the trapping of communications activity via ON COM(n).
n Must be 1, for COM1:, or 2, for COM2:.
ON Causes QB to check for communications activity.
OFF Causes QB not to check for communications activity. This
is the default condition.
STOP Also disables trapping, but QB continues checking for
activity at the specified communications port. If such
activity occurs, a subsequent COM(n) ON results in an
immediate trap (provided an ON COM(n) statement with a
nonzero line number has been executed).
----------------------------------------------------------------------
Notes: If the "Checking Between Statements" option is in effect,
QB checks for communication activity after each statement.
If the "Event Trapping" option is selected, QB checks
after each new program line. If neither option is
selected, no trapping takes place.
For command-line compilation, /v enables checking after
each statement, and /w enables checking after each new
line. If neither switch is used, no trapping takes place.
See Also:
ON COM
Switches and Options
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson