Back Previous Next


Linguist comms package - open

Syntax:

   open {port} {name} [for [input] [and] [output]]

Keyword handler:

   linguist.comms.keyword.CKOpen.class

Runtime handler(s):

   linguist.comms.handler.CHOpen.class

Function:

This command opens a comms port (this requires javax.comm). You can specify if the channel is to be used for input only, output only or both - the default is neither so you must specify something. See write, close and on.

Example(s):

   open COM2 for output


Back Previous Next