program return command


program return

Return program control.


As with all program commands, use of the command word program is optional; program return and return are both valid.

If the call stack is more than one level deep (that is, the file currently being processed was called by another file), then command processing returns to the calling file. If the call stack is only one level, command processing is returned to the command prompt in the Console Pane. The program return command is assumed to be present at the end of any data file.

The program return command will also cause an exit from a command/end command section in a FISH function.