17 The exit command terminates a script started via the run or source command.
18 If scripts are nested, only the innermost script is left.
22 => setenv inner 'echo entry inner; exit; echo inner done'
23 => setenv outer 'echo entry outer; run inner; echo outer done'
30 When executed outside a script a warning is written. Following commands are not
35 => echo first; exit; echo last
37 exit not allowed from main input shell.
43 $? is default set to 0 (true). In case zero or positive integer parameter
44 is passed to the command, the return value is the parameter value. In case
45 negative integer parameter is passed to the command, the return value is 0.