next up previous 203
Next: HDSPAR and PAR
Up: HDSPAR - HDS Parameter Routines
Previous: Freeing Files


Setting Dynamic Defaults

The ADAM parameter system has the concept of `dynamic defaults' for program parameters. These are values suggested by the program itself and the Interface Module may be set up to cause the dynamic default to be used as the value for a parameter using the VPATH Field (see SUN/115), or given as a suggested value in a prompt, using the PPATH Field (see SUN/115).

Subroutine DAT_DEF can be used to set an HDS object as the dynamic default for a parameter but its usefulness is limited because it has to be given a locator to the object. The locator need only be valid when DAT_DEF is called, the object name is found then and stored as a character string. The string is used when the dynamic default is required.



next up previous 203
Next: HDSPAR and PAR
Up: HDSPAR - HDS Parameter Routines
Previous: Freeing Files

HDSPAR - HDS Parameter Routines
Starlink User Note 224
A J Chipperfield
10 February 2000
E-mail:ussc@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils