From Lazarus wiki
Revision as of 17:07, 22 January 2021 by Kai Burghardt (talk | contribs) (expand)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

English (en) Esperanto (eo) français (fr)

The unit sysUtils shipped with the FPC’s default run-time library provides a plethora of system utilities. It attempts to be as compatible to Delphi’s sysUtils unit as possible. However, the FPC version is available on all platforms the FPC supports. You will not find any Windows-related routines or other highly platform-specific functionality.

notable functionality


If the sysUtils unit is included, all run-time errors become exceptions, thus virtually forcing you to use a compiler mode (or mode switch) that allows exception treatment. You will need to include sysUtils in every unit that may throw an exception just to familiarize with the exception classes, even though the unit itself does not use any actual code of it.

If size matters, using sysUtils is by design not the smartest choice.

see also