next up previous
Next: Setting the Dynamic Default
Up: Basic Routines
Previous: Cancelling a Parameter

Setting the Dynamic Prompt  

In the ADAM implementation, the prompt a user of an application sees usually originates from the interface file, and hence is fixed. However, it is possible to create a prompt string dynamically from within the application. For example,

          CALL PAR_PROMT( 'OK', 'The file '// NAME( :NC ) /
         :                / ' is to be erased. OK ?', STATUS )

will change the prompt string for parameter OK, so that the named file given by the variable NAME, may be substituted at run time.



next up previous
Next: Setting the Dynamic Default
Up: Basic Routines
Previous: Cancelling a Parameter

PAR Interface to the ADAM Parameter System
Starlink User Note 114
Malcolm J. Currie
Alan J. Chipperfield
1999 September 24
E-mail:ussc@star.rl.ac.uk