Function Com_Soft() Foundation

Toggles automatic software handshake (XON/XOFF).

Syntax
Com_Soft( <nComPortNum>    , ;
          [<lNewHandShake>], ;
          [<cXONChar>]     , ;  // Default: Chr(17)
          [<cXOFFChar>]      ;  // Default: Chr(19)
        ) --> lOldHandshake
Return

Com_Soft() returns the software handshake state that was current before the function was called.

Description

Enables or disables automatic software handshaking for a specified COM port. If <lNewHandShake> is set .T. handshaking will be enabled, and disabled when .F. is passed.

If <cXONChar> or <cXOFFChar> is given as parameter this character will be used as XON / XOFF - character.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.