INP( )

returnedByte = INP(port)

Description:

This function polls the specified machine I/O port for its byte value.

If you will be distributing your application, and it uses INP() and/or OUT to control hardware ports, you will need to distribute and install certain files on your user's system. For detailed information, see Port I/O.

See also: OUT port,byte

Note: Port I/O is not the same thing at serial port communications, but is usually used for programming the parallel port and other custom hardware devices. Please visit OPEN "COMn:..." for details on serial communications in Liberty BASIC.