portin ( io port number )
Reads a system I/O port from memory and returns the value (0-255).
Reading and writing system I/O ports can be dangerous and can cause unpredictable results. This statement may be disabled because of potential system security issues. Availability may be configured in the IDE by going to the Edit>Preferences menu.
Functionality only available in Windows port.
See example on PortOut page.