End

Program flow control function.

The End function stops the currently running script.

Syntax

End[(<retcode>)]

Parameters

<retcode>: optional return code which can be tested by the calling script in the case of nested scripts. If no return code is specified, 0 is returned.

See also

Stop

Parameters passed from one script to another

Examples

 

End(2)

End

For a full example, see the Run function.