User Tools

Site Tools


en:portin

PortIn (Function)

Format

portin ( io port number )

returns integer_expression

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.

Example

See example on PortOut page.

See Also

2016/01/01 22:42

History

0.9.6.41New To Version
en/portin.txt · Last modified: 2016/08/12 11:51 by admin