Sign in Join
Wiki copytemporary

File types: what changed

Revision 4 to 5. 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.
50-
51-.lrs
1+There are several options for file processing.
522
53-Lazarus **r**e**s**ource file.
3+## Binary file
544
55-.compiled
5+The binary file type is suitable for processing files of all types and sizes.
566
57-FPC compilation state
7+See [[binary file|Binary file]]
588
59-.o
9+## FileStream
6010
61-Object file
11+The FileStream is fast and is suitable for files of small and medium size.
6212
63-.or
13+See [[TFileStream|FileStream]]
6414
65-Object file
15+## String list
6616
67-.ppu
17+The string list is fast and is suitable for files of small and medium size.
6818
69-A compiled Unit file
19+See [[Stringlist|String List]]
7020
71-.res
21+## Typed file
7222
73-The result of compiling the rc file (binary)
23+The file type typed file is suitable for structured files of any size.
7424
75-.rst
25+See [[typed files|Typed file]]
7626
77-Compiled resource strings. Used for L10n. If you intend to translate an application, this should probably be version controlled.
27+## Untyped text file
7828
79-## An example .gitignore file for Lazarus/Free Pascal
29+The untyped text file type is suitable for files of any size.
8030
81-[Lazarus.gitignore](https://github.com/github/gitignore/blob/master/Global/Lazarus.gitignore)
31+See [[untyped files|Untyped text file]]
8232
8333---
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
34+*From the Free Pascal wiki, page "File types", as it stood on 2022-01-29 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).*

Back to history