Keyword: end
Syntax: end $int
Time Complexity: N/A (does not return)
Overview
The end keyword exits the program, returning an error status code to the OS. The argument is the status code returned.
Example usage
To cleanly end a program, add end 0 to the end of a script. (0 means the program successfully completed with no errors).
If there was some sort of error, use a different exit status code.