dos_compilers/Microsoft QuickBASIC v3/manual/ng2f914.html
2024-07-01 13:00:14 -07:00

45 lines
1.6 KiB
HTML

<HTML>
<HEAD><TITLE>QuickBASIC 3.0 - Long Entry</TITLE></HEAD>
<BODY>
<A HREF="ng2f749.html">[&lt;&lt;Previous Entry]</A>
<A HREF="ng320.html">[^^Up^^]</A>
<A HREF="ng2fc55.html">[Next Entry&gt;&gt;]</A>
<A HREF="menu.html" >[Menu]</A>
<A HREF="info.html">[About The Guide]</A>
<HR>
<PRE>
<B>STRIG Status of Joystick Buttons Function</B>
<B>STRIG</B>(<U>n</U>)
Returns status information about the joystick buttons.
<U>n</U> A numeric expression in the range 0 to 3. Determines the
kind of information returned, as follows:
0 Returns -1 if button A has been pressed since the most
recent STRIG(0) call; otherwise, returns 0.
1 Returns -1 if button A is currently pressed; otherwise
returns 0.
2 Returns -1 if button B has been pressed since the most
recent STRIG(2) call; otherwise returns 0.
3 Returns -1 if button B is currently pressed; otherwise
returns 0.
-------------------------------------------------------------------------
<B>Notes:</B> A STRIG ON statement must be executed before the STRIG(<U>n</U>)
function can be used.
</PRE>
<HR>
<B>See Also:</B>
<A HREF="ng2f2ce.html">STICK</A>
<A HREF="ng2f749.html">STRIG (Statement)</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>