Turbo Pascal Unit

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |subcat=Development |extensions={{ext|tpu}} }} A '''Turbo Pascal Unit''' is a separately-compiled file generated using Turbo Pascal or Borland Pascal for the purp...")
 
 
Line 20: Line 20:
 
* [http://turbopascal.org/turbo-pascal-internals Turbo Pascal Internals]
 
* [http://turbopascal.org/turbo-pascal-internals Turbo Pascal Internals]
 
* [http://borlpasc.narod.ru/english/faqs/beginner.htm Beginner's guide to compiling and writing units]
 
* [http://borlpasc.narod.ru/english/faqs/beginner.htm Beginner's guide to compiling and writing units]
 +
 +
[[Category:Borland]]

Latest revision as of 02:55, 14 February 2015

File Format
Name Turbo Pascal Unit
Ontology
Extension(s) .tpu

A Turbo Pascal Unit is a separately-compiled file generated using Turbo Pascal or Borland Pascal for the purpose of linking at build time into an executable file making use of multiple modules. TPU files were introduced in Turbo Pascal 4.0; earlier versions instead used chain files that were "chained to" at execution time.

Different versions of Turbo/Borland Pascal generated different versions of TPU files, so when you upgraded to a new Pascal version you would probably have to recompile your units. However, within the same Pascal version, you didn't need to recompile them unless you changed their source code, which could greatly reduce build time for a complicated project containing many units.

The source code to a unit contains the statement unit unitname, while other units (and main programs) that use it had uses unitname. A unit could be used in many different programs.

[edit] Format information

[edit] Software

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox