374
Platforms
©2000-2008 Tibbo Technology Inc.
See Also:
Line/Port Manipulation Without Pre-selection
Part
Description
num
Platform-specific. See the list of pl_io_port_num constants
in the platform specifications.
Details
No line pre-selection with the
property is required and the value of
the io.portnum will not be changed.
.Portnum Property
Function:
Sets/returns the number of currently selected I/O port.
Type:
Enum (pl_io_port_num, byte)
Value Range:
Platform-specific. See the list of pl_io_port_num
constants in the platform specifications.
See Also:
Line/Port Manipulation With Pre-selection
Details
Selects a particular I/O port to be manipulated through the
and
properties (the latter may or not be available on your platform).
Each port groups eight I/O lines. The list of available I/O ports is defined by the
pl_io_port_num constant.
.Portset Method
Function:
Sets the I/O port specified by the num argument to the
state specified by the state argument.
Syntax:
io.portset(num as pl_io_port_num, state as byte)
Returns:
---
See Also:
Line/Port Manipulation Without Pre-selection
Part
Description
num
Platform-specific. See the list of pl_io_port_num constants
in the platform specifications.
state
0-255. Each bit of this value corresponds to one member I/
O line of the 8-bit port.
Details
367
374
374
366
375
373
367
373