# BASIC 256 - Language Documentation

en:portin

## PortIn

### Format

portin ( io port number )

### Description

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 Also

PortOut

### Example

See example on PortOut page.

### New To Version

0.9.6.41

en/portin.txt · Last modified: 2011/03/29 11:56 (external edit)