exit - exit program

SYNOPSIS

<exit [$code]>


DESCRIPTION
The exit function causes the script to terminate immediately. It can be used to quit a script from within a complicated set of function calls, which might otherwise require numerous returns and checks. An optional exit code $code may be given; the default is 0.


DIAGNOSTICS
exit returns nothing.


CAVEATS
State information may be lost if $url hasn't been printed yet.


SEE ALSO
RETURN


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.