Back
These are the keywords supplied with the comms package:
close on open port set write
Numeric and String values
Conditional expressions
These values can be used in a numeric or string expression:
<port>
Returns the most recent message received from the port named. Only use this
inside an on <port> callback.
The comms package recognizes the following conditional expressions, which may be used in an if or while command:
<port> has data
Returns true if the named port has received data.