Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Nanforum Toolkit v2.1 Reference Guide - <b>ft_com3or4()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FT_COM3OR4()
 Enable use of COM3 and/or COM4 on IBM/PC compatables.
------------------------------------------------------------------------------

 Syntax

      FT_COM3OR4( <nPort> ) -> lSuccess

 Arguments

     <nPort> is the COM port to enable.  Ports except 3 and 4 are ignored.
     The default is 3.

 Returns

     a logical indicating success or failure of the operation.

 Description

     FT_COM3OR4() uses FT_POKE() to write to memory the correct data
     to enable COM3 or COM4 on IBM-PC compatables.  The programmer will
     still need to explicitly open the port with SET PRINTER or FOPEN()
     to send data out the port.

     FT_COM3OR4() owes everything to FT_POKE().

 Examples

     // attempt to enable COM3
     IF FT_COM3OR4( 3 )
        Qout("COM3 was enabled")
     END


 Source: COM34.PRG

 Author: Steve Kolterman

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