55 lines
2.2 KiB
HTML
55 lines
2.2 KiB
HTML
<HTML>
|
|
<HEAD><TITLE>QuickBASIC 3.0 - Long Entry</TITLE></HEAD>
|
|
<BODY>
|
|
|
|
<A HREF="ng23ef7.html">[<<Previous Entry]</A>
|
|
<A HREF="ng320.html">[^^Up^^]</A>
|
|
<A HREF="ng248ab.html">[Next Entry>>]</A>
|
|
<A HREF="menu.html" >[Menu]</A>
|
|
<A HREF="info.html">[About The Guide]</A>
|
|
<HR>
|
|
<PRE>
|
|
<B>PEN Enable/Disable Pen Read and Trap Statement</B>
|
|
|
|
<B>PEN</B> {ON | OFF | STOP}
|
|
|
|
Enables or disables the PEN function (which returns light pen status
|
|
information. Also enables or disables trapping of light pen activity.
|
|
|
|
ON Enables reading of the light pen status, via the PEN
|
|
function, and causes QuickBASIC to check for light pen
|
|
activity.
|
|
|
|
OFF Disables reading of the light pen status and causes
|
|
QuickBASIC not to check for light pen activity. This is
|
|
the default condition.
|
|
|
|
STOP Disables reading of the light pen status and deactivates
|
|
trapping, but QuickBASIC continues checking to see if the
|
|
pen has been activated. If it has, a subsequent PEN ON
|
|
results in an immediate trap (provided an ON PEN statement
|
|
with a nonzero line number has been executed).
|
|
|
|
-----------------------------------------------------------------------
|
|
|
|
<B>Notes:</B> If the "Checking Between Statements" option is in effect,
|
|
QB checks for light pen 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="ng1eb89.html">ON PEN</A>
|
|
<A HREF="ng23ef7.html">PEN (Function)</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>
|