next up previous 94
Next: Global parameters
Up: Prompts and suggested values
Previous: Prompts without a suggested value

Prompts with a suggested value

When a prompt includes a suggested value, you can override it by entering a value of your own. However, when this prompt appears again during a subsequent use of the program, the suggested value may or may not be the same as the value you last entered. Sometimes the current (last) value of the parameter is used, sometimes a fixed default value is used, and sometimes a dynamic default value is calculated by the program from the values of other parameters. It all depends on the characteristics of the program and its interface file. Parameter XDIM of program CREFRAME is an example of a parameter that uses the current value:

    XDIM - x dimension of output array /64/ > 109
    ...
    XDIM - x dimension of output array /109/ > 45
    ...
    XDIM - x dimension of output array /45/ > 16
    ...

Current values of parameters are stored in a file in ADAM_USER, so they persist between ADAM sessions. The file should not be deleted unless the old values are not required.

Parameter TYPED of program CREFRAME is an example of a parameter that always offers the same suggested value, no matter what the current value is:

    TYPED - Type of data to be generated /'GS'/ > RA
    ...
    TYPED - Type of data to be generated /'GS'/ > BL
    ...
    TYPED - Type of data to be generated /'GS'/ > GN
    ...



next up previous 94
Next: Global parameters
Up: Prompts and suggested values
Previous: Prompts without a suggested value

ADAM The Starlink Software Environment
Starlink Guide 4
M D Lawden, K F Hartley
12 August 1992
E-mail:ussc@star.rl.ac.uk

Copyright © 2008 Science and Technology Facilities Council