.CH File Extension

Clipper Header File

Developer Nantucket Corporation
Popularity
3.5  |  6 Votes
 

What is a CH file?

A CH file is a header file used by programs written in the Clipper programming language. It contains pre-processor directives and external declarations that are then included in Clipper .PRG files, by referencing the CH file using the #include directive. CH files are now most often used by programs written in the Harbour programming language.

More Information

Clipper is a programming language and compiler that uses a variant of the xBase programming language to allow developers to write and distribute MS-DOS programs. Created by the Nantucket Corporation in 1985, Clipper was renamed CA-Clipper when Nantucket was acquired by Computer Associates in 1992.

When creating Clipper programs, developers could create Clipper header files that allowed them to define fixed variables and perform other pre-processor directives outside of Clipper program files (PRGs). This allowed developers to quickly and easily include the same pre-processor directives in many different program files, reducing the amount of code clean-up needed if a pre-processor directive needed to be changed. (If the directive was manually included in many PRG files, developers would have to manually update each PRG's instance of the directive, rather than updating just the single CH file.)

As the Windows operating system replaced MS-DOS, Clipper and other xBase-based programming languages largely fell by the wayside. Clipper enthusiasts can continue to develop in xBase and compile programs that include CH files using Harbour and the Harbour MiniGUI.

How to open a CH file

Because CH files are text files, you can open them with any text editor, such as Microsoft Notepad (Windows), Apple TextEdit (Mac), or Github Atom (cross-platform). However, if you want to actually develop or compile an xBase-based program and use a CH file in that program, you should download and install Harbour or the Harbour MiniGUI. These development environments allow developers to create xBase-based programs.

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

Programs that open or reference CH files

Windows
Harbor MiniGUI
Mac
Linux

Verified by FileInfo.com

The FileInfo.com team has independently researched the Clipper Header file format and Mac, Windows, and Linux 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.