Unit 'ports' Package
[Overview][Classes][Variables][Index] [#rtl]

portb

Provide port access per byte.

Declaration

Source position: portsh.inc line 46

var portb: tport;

Description

Default instance of type TPort. Do not free. This variable is initialized in the unit initialization code, and freed at finalization.

Since there is a default property for a variable of this type, a sentence as

portb[221]:=12;

Will result in the byte 12 being written to port 221, if port is defined as a variable of type tport


Documentation generated on: Dec 27 2024