[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 COM_CTS()
 Queries the Clear To Send (CTS) status
------------------------------------------------------------------------------
 Syntax

     COM_CTS(<nComPort>) --> lCTSActive

 Argument

     <nComPort>  Designates the port (1 to 4) for which CTS is tested.

 Returns

     A return of .T. indicates that CTS is active (MSR Bit 5 = 1).  A return
     of .F. indicates that CTS is inactive (MSR Bit 5 = 0).

 Description

     COM_CTS() lets you check the Clear To Send (CTS) signal within a
     program.  Whether CTS is used for a hardware handshake or for other
     purposes, depends on the external hardware that you use.

 Note

     .  If Delta-CTS is required, you must use COM_MSR().

 Example

     DO WHILE .NOT. COM_CTS(1)           // Wait for CTS
        * ...
     ENDDO

     COM_SEND(1, "Good Morning")         // Transmit text


See Also: COM_MSR() COM_HARD()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson