Returns a byte read from a hardware port or external memory location.
var = INP(address)
Numeric variable that receives the value.
The address where to read the value from.
The INP statement only works on systems with an uP that can address external
Dim a As Byte
a = INP(&H8000) 'read value that is placed on databus(d0-d7) at
'hex address 8000