help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Classes][Variables] Reference for unit 'ports' (#rtl)

Reference for unit 'ports'

Access to hardware ports

Overview

The ports unit implements the port constructs found in Turbo Pascal. It uses classes and default array properties to do this.

The unit exists on linux, os/2 and dos. It is implemented only for compatibility with Turbo Pascal. It's usage is discouraged, because using ports is not portable programming, and the operating system may not even allow it (for instance Windows).

Under linux, your program must be run as root, or the IOPerm call must be set in order to set appropriate permissions on the port access.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505