IRAF help page for package language, program keep

from NOAO keep -- keep memory after task terminationUSAGEDESCRIPTIONEXAMPLESEE ALSO

keep -- keep memory after task termination


USAGE

keep


DESCRIPTION

Normally when a script task terminates any tasks, packages, environment variables, etc. defined during the execution of that task are discarded (in other words, the memory used by the task is freed). The keep command instructs the CL to retain the definitions after script termination. Only one level of "keep" is achieved, e.g., if a script with a keep is called from a higher level script, then when the higher level script terminates the task definitions will still be lost (unless this higher level script also uses keep).


EXAMPLE

1. The most common use for keep is to retain a set of definitions in a script task.

	set	pkdir = "home$hebrew/"
	task	aleph, beth, kaph = hebrew.cl
	keep

SEE ALSO

SEE ALSO, task, package,


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