Table of Contents

Synopsis:

return
return <arguments>

Description:

Return terminates processing of the current

You may optionally supply a return value which will be assigned to the function_return local variable, which is useful from:

Using the return command outside of one of the above contexts yields an error and has no effect.

Examples:

 alias square (arg) return ${arg * arg}
 eval echo $square(5)

will output

 25

History

The return command first appeared in EPIC4pre1.031.