variable = OutState(port)
|variable||Variable to store results. (No String or Single)|
|port||I/O port number (0 to 255)|
Reads the current output value for the specified port. This command is different from the In command; it reads a port's current output, not input.
Dim A As Byte A = OutStat(0) 'Read from port 0 and store the output in A.