Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>com_getirq()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 COM_GETIRQ()
 Determines the interrupt request for a port
------------------------------------------------------------------------------
 Syntax

     COM_GETIRQ(<nComPort>) --> nIRQ

 Argument

     <nComPort>  Designates the port (1 to 4) to which the IRQ currently
     in use is delivered.

 Returns

     COM_GETIRQ() returns the IRQ currently in use for the designated port.
     When there are incorrect parameters, the function returns a value of -1.

 Description

     COM_GETIRQ() determines which IRQ is served by the CA-Clipper Tools
     functions for a particular port.  This value corresponds to an internal
     CA-Clipper Tools software setting.  You cannot determine which IRQ is
     using a particular port.

 Examples

     .  Determine the interrupt request for IRQ to COM2:

        ? COM_GETIRQ(2)      // 3

     .  Specify an inaccurate port number:

        ? COM_GETIRQ(5)      // -1


See Also: COM_SETIRQ() COM_SETIO() COM_GETIO()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson