< Futurebasic < Language < Reference 
      HANDSHAKE
Syntax
HANDSHAKE portID, handshakeType
Description:
Sets the handshaking parameter for the open serial port specified by portID (which can be either _modemPort or _printerPort). The handshaking parameter determines how i/o operations will be negotiated when your program subsequently writes to or reads from the specified port. handshakeType can take any of the following values:
INSERT IMAGE HERE!!!!!! <img src="h/handshake.gif" alt="IMAGE imgs/HANDSHAKE_statement02.gif" height="276" width="546">
To determine the best handshaking format for a device, see the device's manual.
Note:
You must open the serial port (use the OPEN "C"... statement) before executing the HANDSHAKE statement.
Powerbooks require an initialization setting of _none to preset the serial port properly.
See Also
OPEN;LOF
    This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.