Setting the parallel port bit directions

pardir[num]

Parameters

num

A 0-255 decimal number, the bits of which indicating whether each of the port   lines is an input or output. Setting a bit to "1" makes it an input, "0" an output.

Remarks

None.

Example

lowlevel:pardir[72] sets parallel port bits 6 and 3 for input, the rest for output.