Back Previous Next


Linguist comms package - port

Syntax:

   port {name} {elements}

Keyword handler:

   net.eclecity.linguist.comms.keyword.CommsKPort.class

Runtime handler(s):

   net.eclecity.linguist.comms.handler.CommsHPort.class

Function:

Declares a serial port variable or an array of ports. The array size is fixed at time of compilation. See also open, close, write and on.

Ports are serial devices that require the javax.comm package to be available.

Example(s):

   port COM2
   port Ports 8


Back Previous Next