Sign in Join
Wiki copytemporary

File types: what changed

Revision 8 to 9. Removed lines have a minus sign; added lines have a plus sign.

Title: file types File types

OldNewLine
1-This page is a summary of the file types created by FPC and Lazarus. The main purpose is to make it easy to find out whether or not a particular file should be added to a Version Control System (VCS) like SVN or Git.
2-
3-## Types to add to VCS
4-
5-Extension
6-
7-Description
8-
9-.pas
10-
11-Pascal source code file
12-
13-.pp
14-
15-Pascal source code file (useful if you want to avoid confusion with Delphi source code files).
16-
17-.lfm
18-
19-Lazarus **f**or**m** source file. Analogous to Delphi's dfm files.
20-
21-.lpi
22-
23-Lazarus **p**roject **i**nformation file. Created by Lazarus for every new project.
24-
25-.lpr
26-
27-Lazarus **pr**ogram (or **p**roject) file. The source code of the main program. Analogous to Delphi's dpr project file.
28-
29-.rc
30-
31-A Windows resource file (not binary)
32-
33-.ico
34-
35-The main project icon in Windows icon format
36-
37-.manifest
38-
39-Windows-specific manifest file for themes
40-
41-## Types usually not added to VCS
42-
43-Extension
44-
45-Description
46-
47-.lps
48-
49-Lazarus **p**roject **s**ettings file. Created by Lazarus for every new project.
1+There are several options for file processing.
502
51-.lrs
3+
524
53-Lazarus **r**e**s**ource file.
5+## Binary file
546
55-.compiled
7+The binary file type is suitable for processing files of all types and sizes.
568
57-FPC compilation state
9+See [[binary file|Binary file]]
5810
59-.o
11+## FileStream
6012
61-Object file
13+The FileStream is fast and is suitable for files of small and medium size.
6214
63-.or
15+See [[TFileStream|FileStream]]
6416
65-Object file
17+## String list
6618
67-.ppu
19+The string list is fast and is suitable for files of small and medium size.
6820
69-A compiled Unit file
21+See [[Stringlist|String List]]
7022
71-.res
23+## Typed file
7224
73-The result of compiling the rc file (binary)
25+The file type typed file is suitable for structured files of any size.
7426
75-.rst
27+See [[typed files|Typed file]]
7628
77-Compiled resource strings. Used for L10n. If you intend to translate an application, this should probably be version controlled.
29+## Untyped text file
7830
79-## An example .gitignore file for Lazarus/Free Pascal
31+The untyped text file type is suitable for files of any size.
8032
81-[Lazarus.gitignore](https://github.com/github/gitignore/blob/master/Global/Lazarus.gitignore)
33+See [[untyped files|Untyped text file]]
8234
8335---
84-*From the Free Pascal wiki, page "file types", as it stood on 2019-12-16 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
85-Category: Lazarus
36+*From the Free Pascal wiki, page "File types", as the Internet Archive kept it on 2025-04-01, last changed on 2022-01-29. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history