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

Syntax:     COM_SOFT(<port>,<expL>)

Arguments:  <port> denotes which serial interface to switch on the
            software handshake, COM1: (1) or COM2: (2).
            <expL> switches the handshake on (.T.) or off (.F.).

Returns:    A logical value.
            This function will always return the previously set value (.T.)
            or (.F.).

Usage:      Hardware handshaking is not possible in DFU connections,
            therefore software handshaking has been implemented with
            this function.  An XOFF (Ctrl-S) will be transmitted to the
            distant station when the buffer is 75 percent full.  The code
            XON (Ctrl-Q) will be transmitted when the buffer is at 50
            percent or less.

Note:       The software handshake must be switched off before a
            binary file is transmitted.

Library:    CT1.LIB


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

Examples:   COM_OPEN(1,1000)            && Open interface
            COM_SOFT(1,.T.)             && Software handshake for COM1:



See Also: COM_HARD() COM_SOFT_R() COM_SOFT_S()

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