IRAF help page for package language, program envget

from NOAO envget -- get the string value of an environment variableUSAGEPARAMETERSDESCRIPTIONEXAMPLESSEE ALSO

envget -- get the string value of an environment variable


USAGE

envget varname


PARAMETERS

varname

The environment variable whose value is to be returned.


DESCRIPTION

Envget returns the string value of the named environment variable. The user is prompted for the value if the variable has not yet been defined.


EXAMPLES

1. Construct a filename using the value of the environment variable "editor", and page the file thus named.

cl> page ("dev$" // envget ("editor") // ".ed")

2. Compute and print the center line on the terminal screen.

cl> = ((int (envget ("ttynlines")) + 1) / 2)


SEE ALSO

set, show,


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