53 lines
2.0 KiB
HTML
53 lines
2.0 KiB
HTML
<HTML>
|
|
<HEAD><TITLE>QuickBASIC 3.0 - Long Entry</TITLE></HEAD>
|
|
<BODY>
|
|
|
|
<A HREF="ng86fb.html">[<<Previous Entry]</A>
|
|
<A HREF="ng320.html">[^^Up^^]</A>
|
|
<A HREF="ng9f05.html">[Next Entry>>]</A>
|
|
<A HREF="menu.html" >[Menu]</A>
|
|
<A HREF="info.html">[About The Guide]</A>
|
|
<HR>
|
|
<PRE>
|
|
<B>COM(n) Enable/Disable Comm Port Trapping</B>
|
|
|
|
<B>COM</B>(<U>n</U>) {ON | OFF | STOP}
|
|
|
|
Enables the trapping of communications activity via ON COM(<U>n</U>).
|
|
|
|
<U>n</U> 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(<U>n</U>) ON results in an
|
|
immediate trap (provided an ON COM(<U>n</U>) statement with a
|
|
nonzero line number has been executed).
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
<B>Notes:</B> 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.
|
|
</PRE>
|
|
<HR>
|
|
<B>See Also:</B>
|
|
<A HREF="ng1d78d.html">ON COM</A>
|
|
<A HREF="ng386bd.html">Switches and Options</A>
|
|
<HR>
|
|
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
|
|
Written by <A HREF="http://www.acemake.com/hagbard">Dave Pearson</A>
|
|
<HR>
|
|
</BODY>
|
|
</HTML>
|