next up previous 63
Next: Run-time Modification of PPATH Action
Up: The PPATH Field
Previous: The PPATH Field

Example

INTERFACE DISP
   .
   PARAMETER IMAGE
         .
      PROMPT 'Image to be displayed'
      PPATH 'CURRENT,DEFAULT'
      DEFAULT IUE.IMAGE.SWPTEST
         .
   ENDPARAMETER
   PARAMETER DISPLAY
         .
      PROMPT 'Image display device'
      PPATH GLOBAL
      ASSOCIATION <-GLOBAL.DEVICE
         .
   ENDPARAMETER
   PARAMETER LIMITS
         .
      PROMPT 'Pixel limits'
      PPATH 'DYNAMIC,DEFAULT'
      DEFAULT 1,511,255,512
         .
   ENDPARAMETER
      .
ENDINTERFACE
Assuming that:
1.
There is no current value for IMAGE.
2.
GLOBAL.DEVICE has the value XWINDOWS.
3.
The program has not specified a dynamic default for LIMITS.
Then, with the above Interface File, if the user just types:
disp
(i.e. does not give any parameter values), and the VPATH field results in the user being prompted, the three prompts would be something like:
IMAGE - Image to be displayed /@IUE.IMAGE.SWPTEST/ >
DISPLAY - Image display device /@XWINDOWS/ >
LIMITS - Pixel limits /[1,511,255,512]/ >
Note the `@' in the suggested values is inserted by the system to avoid ambiguity between names and character strings.



next up previous 63
Next: Run-time Modification of PPATH Action
Up: The PPATH Field
Previous: The PPATH 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