next up previous 530
Next: Special Keywords: ACCEPT, PROMPT, RESET
Up: Specifying Parameter Values on Command Lines
Previous: Keyword versus Positional Parameters


Special Behaviour

Sometimes specifying a parameter on the command line induces different behaviour, usually to inhibit a loop for procedures, or to eliminate unnecessary processing. For instance,

     ICL> centroid blob init="51,42" mode=i

will determine the centroid near the point (51,42) in the NDF called blob, and then it exits, whereas without the INIT value you would be reprompted for a further initial position; and

     % display galaxy mode=sc high=3000 low=1000

prevents the calculation of the extreme values of the NDF called galaxy that are normally given as suggested defaults for parameters HIGH and LOW, because HIGH and LOW are already known.


next up previous 530
Next: Special Keywords: ACCEPT, PROMPT, RESET
Up: Specifying Parameter Values on Command Lines
Previous: Keyword versus Positional Parameters

KAPPA --- Kernel Application Package
Starlink User Note 95
Malcolm J. Currie & David S. Berry
2012 May 2
E-mail:ussc@star.rl.ac.uk

Copyright © 2012 Science and Technology Facilities Council