.Portstate property

Top  Previous  Next

Function:

Sets/returns the state of the currently selected I/O port (selection is made through the io.portnum property).

Type:

Byte

Value Range:

0-255. Default value is hardware-dependent.

See Also:

Line/Port Manipulation With Pre-selection, io.portenabled

 


Details

Each I/O port groups eight I/O lines. Each bit of this property's byte value corresponds to one "member" I/O line.