[<<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
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson