next up previous 63
Next: Example
Up: The ACTION Specification
Previous: The ACTION Specification


The Context Specification and NEEDS Field

The Context Specifications allow command-line parameter positions to be allocated differently for different actions and contexts of the task. The Context Specification is of the form:

   context
      NEEDS parametername_1
      NEEDS parametername_2
       .
   ENDcontext
where context is OBEY or CANCEL.

The order of the NEEDS fields within the Context Specification defines the order in which parameters may be specified on the command line for this particular action and context.

If no NEEDS list is specified, positions will default to those specified in the Parameter Specification.





next up previous 63
Next: Example
Up: The ACTION Specification
Previous: The ACTION Specification

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