Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>com_cts()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
COM_CTS()

Syntax:     COM_CTS(<port>)

Arguments:  <port> Will determine the interface for which the CTS will be
            tested, COM1: (1) or COM2: (2).

Returns:    A logical value.
            (.T.) corresponds to CTS active.     (MSR Bit 4=1)
            (.F.) corresponds to CTS inactive.   (MSR Bit 4=0)

Usage:      COM_CTS() provides a simple facility to check the Clear To
            Send (CTS) signal within a program.  Whether CTS is used
            for hardware handshake or for other purposes, will depend on
            the external hardware used.

Note:       Please use COM_MSR() if Delta-CTS is required.

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   DO WHILE .NOT. COM_CTS(1)     && Wait for CTS

            ENDDO

            COM_SEND(1,"Good Morning")    && Send text



See Also: COM_HARD() COM_MSR()

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