next up previous contents
Next: Debugging your Programs Up: Utilities and units that Previous: Supplied programs

Supplied units

Here we list the units that come with the Free Pascal distribution. Since there is a difference in the supplied units per operating system, we list them separately per system. They are documented in the Unit reference.

Under DOS

strings
This unit provides basic string handling routines for the pchar type, comparable to similar routines in standard C libraries.
objects
This unit provides basic routines for handling objects.
dos
This unit provides basic routines for accessing the operating system DOS. It provides almost the same functionality as the Turbo Pascal unit.
printer
This unit provides all you need for rudimentary access to the printer.
getopts
This unit gives you the gnu getopts command-line arguments handling mechanism. It also supports long options.
crt
This unit provides basic screen handling routines. It provides the same functionality as the Turbo Pascal CRT unit.
graph
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.
go32
This unit provides access to possibilities of the GO32 DOS extender.
emu387
This unit provides support for the coprocessor emulator.
mmx
This unit provides support for mmx extensions in your code.

Under Linux

strings
This unit provides basic string handling routines for the PChar type, comparable to similar routines in standard C libraries.
objects
This unit provides basic routines for handling objects.
crt
This unit provides basic screen handling routines. It provides the same functionality Turbo Pascal CRT unit. It works on any terminal which supports the vt100 escape sequences.
dos
This unit provides an emulation of the same unit under DOS. It is intended primarily for easy porting of Pascal programs from DOS to LINUX. For good performance, however, it is recommended to use the linux unit.
linux
This unit provides access to the LINUX operating system. It provides most file and I/O handling routines that you may need. It implements most of the standard C library constructs that you will find on a Unix system. If you do a lot of disk/file operations, the use of this unit is recommended over the one you use under Dos.
printer
This unit provides an interface to the standard Unix printing mechanism.
getopts
This unit gives you the gnu getopts command-line arguments handling mechanism. It also supports long options.
mmx
This unit provides support for mmx extensions in your code.
sockets
This unit gives you access to sockets and TCP/IP programming.


next up previous contents
Next: Debugging your Programs Up: Utilities and units that Previous: Supplied programs

Michael Van Canneyt
Tue Mar 31 16:44:14 CEST 1998