14
SUN/114.4
Starlink Project
Starlink User Note 114.4
Malcolm J. Currie
Alan J. Chipperfield
2019 November 30
PAR
Interface to the ADAM Parameter System
Version 2.4
Programmer’s Manual
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.