World Library  
Flag as Inappropriate
Email this Article

Clipper (programming language)

Article Id: WHEBN0000246367
Reproduction Date:

Title: Clipper (programming language)  
Author: World Heritage Encyclopedia
Language: English
Subject: XBase, Flagship compiler, Visual Objects, List of programming languages by type, Embedded database
Collection: 1985 Software, 4Gl, Dos Software, Xbase Programming Language Family
Publisher: World Heritage Encyclopedia

Clipper (programming language)

Appeared in 1985 (1985)
Stable release CA Clipper 5.3b / May 20, 1997

Clipper is a computer programming language that is used to create software programs that originally operated primarily under DOS. Although it is a powerful general-purpose programming language, it was primarily used to create database/business programs.


  • History 1
  • Programming in Clipper 2
  • Version history 3
  • External links 4


Clipper was originally created in 1985 as a compiler for dBASE III, a very popular database language at the time. Compiling dBASE code changes it from interpreted code, which must be interpreted every time each line of code is executed, to p-code, which uses a Virtual Machine to process the compiled p-code. p-code is considerably faster, but still not as fast as the machine code generated by native compilers. As a technical marketing ploy, the p-code was wrapped into object code (linkable .obj files) which gave the impression that it was compiled to native code. Clipper was created by Nantucket Corporation led by Barry ReBell (management) and Brian Russell (technical), and later sold to Computer Associates. GrafX Software licensed CA-Clipper in 2002 from CA for ongoing marketing and distribution.

As the product matured, it remained a DOS tool for many years, but added elements of the C programming language and Pascal programming language, as well as OOP, and the code-block data-type (hybridizing the concepts of dBase macros, or string-evaluation, and function pointers), to become far more powerful than the original. Nantucket's Aspen project later matured into the Windows native-code Visual Objects compiler.

The Clipper language is being actively implemented and extended by multiple organizations/vendors, like XBase++ from Alaska Software and FlagShip, as well as free (GPL-licensed) projects like Harbour and xHarbour.

Many of the current implementations are portable (DOS, Windows, Linux (32- and 64-bit), Unix (32- and 64-bit), and Mac OS X), supporting many language extensions [1], and have greatly extended runtime libraries, as well as various Replaceable Database Drivers (RDD) supporting many popular database formats, like DBF, DBTNTX, DBFCDX (FoxPro, Apollo, Comix, and Advantage Database Server), MachSix (SIx Driver and Apollo), SQL, and more. These newer implementations all strive for full compatibility with the standard dBase/xBase syntax, while also offering OOP approaches and target-based syntax such as SQLExecute().

The Clipper Usenet newsgroups are comp.lang.clipper and comp.lang.clipper.visual-objects.

Programming in Clipper

A simple hello world - application:

? "Hello World!"

A simple data base input mask:

@  1, 0 SAY "CustNum" GET Customer->CustNum PICT "999999" VALID Customer->CustNum > 0
@  3, 0 SAY "Contact" GET Customer->Contact VALID !empty(Customer->Contact)
@  4, 0 SAY "Address" GET Customer->Address

Version history

The various versions of Clipper were

From Nantucket Corporation; the "seasonal versions", billed as "dBase compilers"

  • Nantucket Clipper Winter'84 - released May 25, 1985
  • Nantucket Clipper Summer'85 - released 1985
  • Nantucket Clipper Winter'85 - released January 29, 1986
  • Nantucket Clipper Autumn'86 - released October 31, 1986
  • Nantucket Clipper Summer'87 - released December 21, 1987

From Nantucket Corporation; Clipper 5

  • Nantucket Clipper 5.00 - released 1990
  • Nantucket Clipper 5.01 - released April 15, 1991
  • Nantucket Clipper 5.01 Rev.129 - released March 31, 1992

and from Computer Associates; CA-Clipper 5

  • CA Clipper 5.01a -
  • CA Clipper 5.20 - released February 15, 1993
  • CA-Clipper 5.2a - released March 15, 1993
  • CA Clipper 5.2b - released June 25, 1993
  • CA-Clipper 5.2c - released August 6, 1993
  • CA Clipper 5.2d - released March 25, 1994
  • CA-Clipper 5.2e - released February 7, 1995
  • CA Clipper 5.30 - released June 26, 1995
  • CA Clipper 5.3a - released May 20, 1996
  • CA Clipper 5.3b - released May 20, 1997

External links

  • Alaska Software vendor of XBase++
  • Apollo database engine supports CA-Clipper and FoxPro data files
  • Free Open Source Graphic,GUI & Form Designer for CA-Clipper
  • mini Clipper FAQ
  • Print from Clipper to newest Windows printers article
  • The Oasis is the largest file archive for CA-Clipper and xBase on the web
  • Visual FlagShip Clipper compatible compiler for Linux, Unix and Windows
  • Xailer Integrated development environment for Windows
  • Harbour Project A 32/64 bit multiplatform Clipper compiler
  • From CA-Clipper to Windows in 5 minutes How to install Harbour MiniGUI and compile a windows-exe.
  • DBFree - Xbase/Clipper for the web :Active web pages using server-side Xbase scripts, embedded DBF data engine, freeware, based on MaxScript Xbase interpreter (adds xBase/Clipper server-side scripting to IIS / Apache / Xitami web servers).
  • DBMax - MaxScript Command Processor :the Xbase interpreter for desktop and web applications.
  • The NTK Project, WIN32 Gui Framework for (x)Harbour, backward compatible with Clipper and Clip4Win.
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.