next up previous 63
Next: The HELP Field
Up: The Action KEYWORD Field
Previous: The Action KEYWORD Field

Example

INTERFACE FILTASK
      .
   ACTION GET_FILTER
      KEYWORD FIND_FILTER
      OBEY
         NEEDS FILTER IN 'R', 'I', 'J'
         NEEDS DEAD_TIME RANGE 1.0, 5.5
      ENDOBEY
         .
   ENDACTION
      .
ENDINTERFACE
This field is used to specify the word that the user uses to communicate with a particular action. Thus the user could specify:
ICL> send filtask obey find_filter
As can be seen, this completes the separation between the program's view of actions and the user's view of them. It is possible for the programmer to re-write the program using completely different action names, but the user command could be kept the same by just changing the ACTION statements in the Interface File. Similarly the user's view of the program can be changed by just changing the action KEYWORD fields.

If the KEYWORD field is not specified for an action, then the system will use the action name as the keyword.



next up previous 63
Next: The HELP Field
Up: The Action KEYWORD Field
Previous: The Action KEYWORD 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