1 Introduction

This document is intended to provide a painless introduction to the art of ADAM programming. A series of programs which are increasingly ambitious in scope are presented and explained.

The next two sections briefly explain the concept of the Starlink standard data structure (the NDF), and how to compile and link ADAM programs. Subsequent sections deal with topics such as accessing NDFs, error and message reporting, data processing, I/O, character handling, graphics, bad pixel handling etc. Later sections illustrate the power of running ADAM programs under the special Interactive Command Language (ICL) rather than the familiar DCL (Digital Command Language). A selection of reference material is presented in the appendices.

All the files, including data files, referred to in this document can be found in the ADAM_EXAMPLES directory on Starlink machines.

Several points about the programs should be made.

No previous experience of ADAM is assumed.

The reader is referred to SG/4 for an overview of ADAM and the various application packages which are available within it.