The getout Statement
The getout statement reads a value from an output field of a sensor on a port and writes the value to its first output argument. The port is specified via the second argument. The output field identifier is the third argument. Valid output field identifiers are listed in the Output field constants section. Valid output port constants are listed in the Output port constants section. The syntax of the getout statement is shown below.