Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

The Basics

This part explains the basic commands of ObjectScript, which are similar to those in other programming languages.

Here's what you'll learn in Part 1:

  • What an ObjectScript routine looks like.

  • How to use the Terminal and Studio.

  • ObjectScript commands: Write, Read, Set, Kill, Do, and Quit, including post-conditional and argumentless versions.

  • ObjectScript constructs: If, For, While, Do/While, Try/Catch.

  • Proper syntax, and some common errors you may encounter.

  • Procedures.

Click here for a reference to all the ObjectScript commands and functions (use your browser's Back button to return here).

Note:

Click here to continue.

Feedback