Futurebasic/Language/Reference/handshake

HANDSHAKE

edit

Syntax

edit
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

edit

OPEN;LOF