RETURNS THE VALUE READ ON THE PARALLEL PORT OF ADDRESS A
ACTION
The function PARALLEL_INP(A) returns the value read on the parallel port of address A.
A can be a real or integer number. If A is a real value, it is rounded to the nearest integer before the reading.
SYNTAX:
Result=PARALLEL_INP(A)
USE ERROR EXAMPLE
rem start the input-output operations
parallel_on
rem set all the bits to 1 on the data port
parallel_out 888,255
rem read the status port
print parallel_inp(889)
rem stop the input-output operations
parallel_off
PARALLEL_INP()
PARALLEL_INP(A)
SEE ALSO
PARALLEL_ON
PARALLEL_OFF
PARALLEL_OUT