IRAF help page for package language, program lparam

from NOAO lparam -- list the parameters of a task or psetUSAGEPARAMETERSDESCRIPTIONEXAMPLESBUGSSEE ALSO

lparam -- list the parameters of a task or pset


USAGE

lparam pset [pset ...]


PARAMETERS

pset

The name of the parameter set to be listed.


DESCRIPTION

Lparam lists one or more parameter sets. Psets are specified either by the name of the task with which the pset is associated, or by filename (pset files have the ".par" extension). If a file type pset is listed the extension must be included, since it is the presence or absence of the filename extension which lparam uses to distinguish between task-psets and named (file) psets.

Each parameter is listed on a single line with the following format:

param = value prompt string

Here "param" is the name of the parameter, "value" is the current value of the parameter (blank if undefined), and "prompt string" is the prompt for the parameter, if any. If the parameter is hidden, then the line is enclosed in parentheses. For arrays, instead of the values, a list of the dimensionalities is given. The eparam task may be used to examine or edit the contents of an array. When more than one task is listed the task name is prefixed to the list of each tasks parameters.


EXAMPLES

1. List the parameter for the task delete. Note that the positional parameters are listed first, in the order in which they must be specified on the command line, followed by the hidden parameters.

cl> lparam delete
        files = "temp"          list of files to be deleted
     go_ahead = yes              ?
      (verify = no)             verify operation before deleting each file?
(default_acti = yes)            default delete action for verify query
 (allversions = yes)            delete all versions of each file
    (subfiles = yes)            delete any subfiles of each file
        (mode = "ql")           

2. List the contents of the file pset "delete.par". Named psets such as this are most commonly produced using the ":w filename" colon command in eparam, e.g., to prepare several different versions of the parameter set for a task.

cl> lparam delete.par


BUGS

You cannot list the parameters of a task that does not have a parameter file (e.g., all builtin tasks).


SEE ALSO

eparam, dparam, cache,


This page automatically generated from the iraf .hlp file. If you would like your local iraf package .hlp files converted into HTML please contact Dave Mills at NOAO.

dmills@noao.edu