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_soft_s()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
COM_SOFT_S()

Syntax:     COM_SOFT_S(<port>)

Arguments:  <port> denotes the interface for which the XOFF send flag
            is to be tested, COM1: (1) or COM2: (2).

Returns:    A logical value.
            The function  will return a (.T.) if the distant station has been
            notified that the buffer is 75 percent or more full.

Usage:      If software handshaking has been selected, and the buffer is
            more than 75 percent  full, an XOFF will automatically be
            transmitted to the distant station.  This will be recorded in an
            internal flag, which can be determined via COM_SOFT_S().
            As the buffer empties to 50 percent or less, an XON will be
            transmitted and the internal flag will be reset.

Note:       The size of the buffer should be chosen such that the  25
            percent remaining after an XOFF has been transmitted is
            sufficient for high baud rates.

Library:    CT1.LIB


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

Examples:   IF COM_SOFT_S()
               ? "It is time to empty the buffer!"
            ENDIF



See Also: COM_READ() COM_SOFT()

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