Function Com_Hard() Foundation

Toggles automatic hardware handshake.

Syntax
Com_Hard( <nComPortNum>    , ;
          [<lNewHandShake>], ;
          [<lDTR_DSR>]       ;
        ) --> lOldHandshake
Return

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

Description

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

If <lDTR_DSR> = .T. DTR/DSR will be used for handshaking otherwise RTS/CTS will be used.

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.