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

Michael Van Canneyt michael at freepascal.org
Mon Feb 25 09:30:54 CET 2013



On Mon, 25 Feb 2013, Sven Barth wrote:

> 
> 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.

I think you are under a misapprehension. It is not 'out of habit'. 
I use .pp for all my contributions, out of principle.

Michael.



More information about the fpc-pascal mailing list