INPORT portid
Reads 2 bytes (16 bits) from the port specified by portid and output the data as an integer.
The portid input specifies a "Hardware" port.
Do not confuse INPORT with PORTOPEN and PORTREADCHAR which are for communications through the serial and parallel ports.
SHOW INPORT 198
25730
| INPORTB |
| OUTPORT |