next up previous 63
Next: The PPATH Field
Up: The PROMPT Field
Previous: The PROMPT Field

Example

INTERFACE DISP
   .
   PARAMETER IMAGE
         .
      VPATH PROMPT
      PROMPT 'Image to be displayed'
         .
   ENDPARAMETER
   PARAMETER DISPLAY
         .
      VPATH PROMPT
      PROMPT 'Image display device'
         .
   ENDPARAMETER
      .
ENDINTERFACE
Suppose that the user has given the command:
disp image=iue.image.swp2099
The program will take the specified value as the value of the IMAGE parameter. When it requires the DISPLAY parameter value, none has been specified on the command line so, as the VPATH field specifies that the user is to be prompted for a value, the system generates a prompt line such as:
DISPLAY - Image display device >
to which the user has to reply with a suitable value. (The prompt may also have a suggested value for the parameter, obtained via the PPATH field, see below).



next up previous 63
Next: The PPATH Field
Up: The PROMPT Field
Previous: The PROMPT Field

ADAM Interface Module Reference Manual
Starlink User Note 115
A J Chipperfield, B D Kelly, S L Wright
3 September 2002
E-mail:ussc@star.rl.ac.uk

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