FT_COM3OR4

FT_COM3OR4()
 Enable use of COM3 and/or COM4 on IBM/PC compatibles.

 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

Advertisements

One response to “FT_COM3OR4

  1. Pingback: FT Environment | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s