.TPU File Extension

Turbo Pascal Unit

Developer Borland
Popularity
3.7  |  3 Votes
 

What is a TPU file?

A TPU file is a Turbo Pascal unit. It contains a compiled program module that Turbo Pascal developers can import into a Turbo Pascal program, via the uses keyword. Saving a module as a TPU file allows developers to reuse the functions and procedures that module contains in multiple programs.

More Information

Turbo Pascal is a development kit for the Pascal programming language. It includes an IDE and a compiler that allow developers to develop, compile, and run Pascal programs.

Versions 4 and later of Turbo Pascal allow developers to compile program modules into TPU files. Typically, these modules contain common functions and procedures that a developer wants to include in multiple programs. Storing these functions and procedures in a single TPU file, rather than rewriting them in each program, makes maintaining and troubleshooting them easier.

Each TPU file is built from a corresponding .PAS file. These PAS files start with the unit keyword; they are typically named similarly to their TPU counterparts.

NOTE: Different versions of Turbo Pascal use differently-formatted TPU files. Therefore, TPU files created using one version of Turbo Pascal may not function correctly in other versions.

How to open a TPU file

TPU files are not meant to be opened. To edit the code a TPU file contains, edit and recompile the corresponding PAS file.

Open over 400 file formats with File Viewer Plus.Free Download

Programs that open TPU files

Windows

Verified by FileInfo.com

The FileInfo.com team has independently researched the Turbo Pascal Unit file format and Windows apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.