ArticleslgStudy

computer science

Clipper (programming language)

Clipper (programming language) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Clipper (programming language) rather than just read about it. In short: Clipper is an xBase compiler that implements a variant of the xBase computer programming language. It is used to create or extend software programs that usually ran on DOS originally.

Clipper (programming language) — main illustration
Clipper (programming language) — illustration

Key takeaways

  • Clipper (programming language) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Clipper (programming language) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Clipper (programming language) from memory before moving on to harder problems.

Reference excerpt

Clipper is an xBase compiler that implements a variant of the xBase computer programming language. It is used to create or extend software programs that usually ran on DOS originally. Although it is a powerful general-purpose programming language, it was used mainly to create database business programs. One major dBase feature not implemented in Clipper is the dot-prompt (. prompt) interactive command set, which was an important part of the original dBase implementation. Clipper, from Nantucket Corp and later Computer Associates, started out as a native code compiler for dBase III databases, and later evolved.

History Clipper was created by Nantucket Corporation, a company that was started in 1984 by Barry ReBell (management) and Brian Russell (technical). Larry Heimendinger was Nantucket's president. In 1992, the company was sold to Computer Associates for 190 million dollars and the product was renamed to CA-Clipper. Clipper was created as a replacement programming language for Ashton Tate's dBASE III, a very popular database language at the time. The advantage of Clipper over dBASE was that it could be compiled and executed on DOS as a standalone application. In the years between 1985 and 1992, millions of Clipper applications were built, typically for small businesses dealing with databases concerning many aspects of client management and inventory management. For many smaller businesses, having a Clipper application designed to their specific needs was their first experience with software development. Also many applications for banking and insurance companies were developed, here especially in those cases where the application was considered too small to be developed and run on traditional mainframes. In these environments Clipper also served as a front end for existing mainframe applications. As the product matured, it added elements of the programming languages C and Pascal, and object-oriented programming (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 CA-Visual Objects compiler.

Market penetration Nantucket sold well in Western markets. Also, in November 1991, the New York Times reported the company's success in "painstakingly convincing Soviet software developers that buying is preferable to pirating". According to the article, Clipper had sold 2,000 copies in the Soviet Union (compared to 250,000 worldwide).

Decline In the early 1990s, under new ownership, Clipper failed to transition from DOS to Windows. As a result, almost no new commercial applications were written in Clipper after 1995. By then, the "classically trained programmer" commonly used strong typing, in contrast to the original dBASE language. An evolution of Clipper, named Visual Objects, added strong typing but made it optional, to remain compatible with existing code. Four of the more important languages that took over from Clipper were Visual Basic, Microsoft Access, Delphi, and Powerbuilder. All provided strong typing.

Revival by third-parties The Clipper language is being actively implemented and extended by multiple organizations/vendors, like XBase++ from Alaska Software and FlagShip, and 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 macOS), supporting many language extensions, with much extended runtime libraries, and 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().

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

Programming A simple hello world - application (fully functional after compiling):

Procedure Main //Or Proc Main, same result. ? "Hello World!" Return //Or Retu, same result.

A simple data base input mask (without actual function or procedure start/end):

USE Customer SHARED NEW clear @ 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 READ

Version history The various Clipper versions, and release dates, were: From Nantucket Corporation; the "seasonal versions", billed as "dBase compilers":

Nantucket Clipper Winter'84 – May 25, 1985 Nantucket Clipper Summer'85 – 1985 Nantucket Clipper Winter'85 – January 29, 1986 Nantucket Clipper Autumn'86 – October 31, 1986 Nantucket Clipper Summer'87 – December 21, 1987 From Nantucket Corporation; Clipper 5:

Nantucket Clipper 5.00 – 1990 Nantucket Clipper 5.01 – April 15, 1991 Nantucket Clipper 5.01 Rev.129 – March 31, 1992 and from Computer Associates; CA-Clipper 5:

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

Clipper Tools After buying Nantucket, along with the standard Clipper library, CA developed another, named Clipper Tools. Three versions of this library were released, alongside Clipper versions. This library became a de facto standard among Clipper clones, such as xHarbour. It was also cloned by several of Clipper's clones.

References

External links Free Open Source Graphic, GUI & Form Designer for CA-Clipper mini Clipper FAQ Archived 2002-12-11 at the Wayback Machine Print from Clipper to newest Windows printers article The Oasis is the largest file archive for CA-Clipper and xBase on the web Harbour Project A 32/64 bit multiplatform Clipper compiler CA-Clipper Website

Illustrations

Clipper (programming language) illustration

Worked examples

Example 1 — a first encounter with Clipper (programming language)

Start with the simplest possible case. Write down what Clipper (programming language) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Clipper (programming language) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Clipper (programming language) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Clipper (programming language)

In research
Clipper (programming language) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Clipper (programming language) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Clipper (programming language) is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1985 software, DOS software, Dynamic programming languages, so understanding it makes those chapters shorter.
In everyday life
Look for Clipper (programming language) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Clipper (programming language)” →

How to study Clipper (programming language) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Clipper (programming language) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Clipper (programming language) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Clipper (programming language) in simple terms?

Clipper is an xBase compiler that implements a variant of the xBase computer programming language. It is used to create or extend software programs that usually ran on DOS originally.

Why does Clipper (programming language) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Clipper (programming language)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Clipper (programming language).

Tags

  • 1985 software
  • DOS software
  • Dynamic programming languages
  • Dynamically typed programming languages
  • Fourth-generation programming languages
  • High-level programming languages
  • Programming languages
  • Programming languages created in 1985
  • Table-oriented programming
  • XBase programming language family

Keep exploring