WinScript Live Command Reference Page 67
Out Port
Sets a group of eight Outputs to a single binary value. The lowest number Output becomes the
Least Significant Bit (or LSB), the highest becomes the Most Significant Bit (or MSB).
Desired Literal Value (0-255)
*Bank1 = Outputs 1-8; Bank2 = Outputs 9-16; All= Outputs 1-16. If specifying "All" as the bank, the
Literal Value range is 0-65535.
Sets output bank 1 (Outputs 1-8) to the binary representation of 157 (or 10011101). After the
Out Port event is executed, the following outputs are actuated:
In Port
Reads a group of eight inputs to a Variable. The lowest number input becomes the LSB, etc.
*Bank1 = Inputs 1-8; Bank2 = Inputs 9-16; All = Inputs 1-16
Sets var7 to the value of input bank 1 (inputs 1-8). Assuming inputs of 10011101 (where 1 is on),
after the InPort event is executed, Var7 will contain the value 157.