[next] [tail] [up]

### 9.1 Standard units

The following units are standard and are meant to be ported to all supported platforms by Free Pascal. A brief description of each unit is also given.

- This unit is similar to the unit of the same name of Turbo Pascal. It implements writing to the console in color, moving the text cursor around and reading from the keyboard.
- This unit provides basic routines for accessing the operating system. This includes file searching, environment variables access, getting the operating system version, getting and setting the system time. It is to note that some of these routines are duplicated in functionality in the sysutils unit.
- This unit gives you the G N U getopts command-line arguments handling mechanism. It also supports long options.
- This unit provides basic graphics handling, with routines to draw lines on the screen, display texts etc. It provides the same functions as the Turbo Pascal unit.
- provides basic keyboard handling routines in a platform independent way, and supports writing custom drivers.
- This unit contains common mathematical routines (trigonometric functions, logarithms, etc.) as well as more complex ones (summations of arrays, normalization functions, etc.).
- This unit provides support for mmx extensions in your code.
- provides basic mouse handling routines in a platform independent way, and supports writing custom drivers.
- This unit provides the base object for standard Turbo Pascal objects. It also implements File and Memory stream objects, as well as sorted and non-sorted collections, and string streams.
- is used for Delphi compatibility; you should never load this unit explicitly; it is automatically loaded if you request Delphi mode.
- This unit provides all you need for rudimentary access to the printer using standard I/O routines.
- This gives the programmer access to sockets and TCP/IP programming.
- This unit provides basic string handling routines for the pchar type, comparable to similar routines in standard C libraries.
- This unit is available for all supported platforms, even though the unit name may be different (e.g : syslinux, sysos2). It includes among others, basic file I/O routines, memory management routines, all compiler helper routines, and directory services routines.
- is an alternative implementation of the sysutils unit of Delphi. It includes file I/O access routines which takes care of file locking, date and string handling routines, file search, date and string conversion routines.
- Provides functions to acces Run-Time Type Information, just like Delphi.
- provides basic screen handling in a platform independent way, and supports writing custom drivers.

[next] [front] [up]