[fpc-pascal] differences between .pp and .pas files

Sven Barth pascaldragon at googlemail.com
Mon Feb 25 09:28:25 CET 2013


Am 25.02.2013 07:14 schrieb "Eric Kom" <erickom at metropolitancollege.co.za>:
>
> Good day,
>
> Please what is a difference between .pp and .pas files extension?

It's mostly a historical difference..pas are units that could (originally)
be compiled with Turbo Pascal as well (which is why all units of the
compiler use .pas) while .pp was designated for units that can only be
compiled by FPC (which is why the old units of the RTL are called .pp).
There is no technical difference between them. And for compatibility with
Mac or Apple Pascal FPC also supports .p (this extension can be seen in the
Photoshop 1.0 source for example).

Today .pp is used for example for FPC's test files (also for new ones) out
if habit.

Program files can have any extension btw. Lazarus uses .lpr and Delphi .dpr.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130225/b213b29b/attachment.html>


More information about the fpc-pascal mailing list