.p Pascal source code

Text & source code

MIME typetext/x-pascal
DescriptionPascal source code
CategoryText & source code
Based ontext/plain
Other extensions.pas

Frequently asked questions

What is a .p file?

A .p file is a “Pascal source code” (MIME type text/x-pascal).

How do I open a .p file?

With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.

How can you tell a genuine .p file?

No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.p shows the guessed type.

Which format is .p based on?

Technically a .p file is a subtype of “Plain text document” (text/plain), so programs for that base format can often read it too.

Which MIME type belongs to .p?

The MIME type is text/x-pascal. In the Apache web server: AddType text/x-pascal .p; in nginx: types { text/x-pascal p; }.

Nearby entries