Part IV
FOR PROGRAMMERS

11 A Guided Tour
 11.1 A ‘Hello, world’ program
 11.2 Source code
 11.3 Interface file
 11.4 Compiling and linking
 11.5 Testing
 11.6 Error handling
 11.7 Returning parameter values
 11.8 Monoliths
12 Programming Standards, Conventions and Tools
 12.1 Language standards
  12.1.1 Fortran
  12.1.2 C
  12.1.3 Fortran/C interface
  12.1.4 Posix interface
 12.2 Prologue standards
 12.3 Software tools
  12.3.1 FORCHECK
  12.3.2 GENERIC
  12.3.3 LIBMAINT
  12.3.4 LIBX
  12.3.5 SPAG
  12.3.6 SST
  12.3.7 STARLSE
  12.3.8 TOOLPACK
13 The ADAM Libraries
 13.1 Parameter system
 13.2 Data system
 13.3 Message and Error systems
 13.4 Graphics system
 13.5 Input/output systems
 13.6 Database system
 13.7 Utilities
14 The Parameter System
 14.1 Parameters and objects
 14.2 Associating objects with parameters
 14.3 Interface files
 14.4 Parameter specifications
 14.5 Message specifications
 14.6 Monoliths
 14.7 Parameter states
15 The Data System
 15.1 HDS — Hierarchical data system
  15.1.1 Symbolic names and Include files
  15.1.2 Creating objects
  15.1.3 Writing and reading objects
  15.1.4 Accessing objects by mapping
  15.1.5 Mapping character data
  15.1.6 Copying and deleting objects
  15.1.7 Subsets of objects
  15.1.8 Temporary objects
  15.1.9 Enquiries
  15.1.10 Packaged routines
 15.2 REF — References to HDS objects
  15.2.1 Uses
 15.3 NDF — Extensible n-dimensional data format
  15.3.1 Relationship with HDS
  15.3.2 Data format
  15.3.3 Routines
  15.3.4 Example program
16 The Message and Error Systems
 16.1 MSG — Message reporting system
  16.1.1 Reporting messages
  16.1.2 Conditional message reporting
  16.1.3 Message tokens
  16.1.4 Message parameters
  16.1.5 Parameter references
  16.1.6 Getting the conditional output level
 16.2 ERR — Error reporting system
  16.2.1 Inherited status checking
  16.2.2 Reporting errors
  16.2.3 When to report an error
  16.2.4 Setting and defining status values
  16.2.5 The content of error messages
  16.2.6 Deferred error reporting
  16.2.7 Error message parameters
17 The Graphics System
 17.1 SGS — Simple graphics system
 17.2 IDI — Image display interface
 17.3 AGI — Applications graphics interface
 17.4 GNS — Graphics workstation name service
18 Input/Output Systems
 18.1 FIO — Sequential file I/O
 18.2 RIO — Direct file I/O
 18.3 MAG — Magnetic tape system
  18.3.1 Device management
  18.3.2 Tape positioning
  18.3.3 Example