IRAF help page for package language, program return

from NOAO return -- exit a procedureUSAGEPARAMETERSDESCRIPTIONEXAMPLESBUGSSEE ALSO

return -- exit a procedure


USAGE

return [value]


PARAMETERS

value

An optional value returned to the invoking procedure.


DESCRIPTION

The return statement terminates a script and optionally returns a value to the invoking routine. Any number of return statements may be present in a script. A return statement without a value is equivalent to a bye.


EXAMPLES

return
return (j+3)

BUGS

BUGS The return value cannot currently be utilized by the invoking procedure.


SEE ALSO

bye,


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