Starlink User Note 114.4
Malcolm J. Currie
Alan J. Chipperfield
1999 September 24
Interface to the ADAM Parameter System
PAR is a library of Fortran subroutines that provides convenient mechanisms for applications to exchange information with the outside world, through input-output channels called parameters. Parameters enable a user to control an application’s behaviour. PAR supports numeric, character, and logical parameters, and is currently implemented only on top of the ADAM parameter system.
The PAR library permits parameter values to be obtained, without or with a variety of constraints. Results may be put into parameters to be passed onto other applications. Other facilities include setting a prompt string, and suggested defaults.
This document also introduces a preliminary C interface for the PAR library – this may be subject to change in the light of experience.