INPWI/O FunctionWindows/Unix

A device I/O function that returns the word value read from an I/O port.

Syntax: INPW(port)
A = INPW(&H3C9)

Port is any word value between 0 and 65535. Return value is also in the range 0 to 65535. This keyword is stable for Windows 95 and Win 98 only. Can give you a memory protection fault on later versions of Windows. For later windows versions, tryutilities like PorkTalk or io.dll instead.