From Kx Wiki
Revision as of 08:52, 28 October 2009 by Chris Burke
exit (exit function)
exit terminate the q process with the given exit status.
q)exit 0 / typical successful exit status .. q)exit 42 guest@localhost:~$ echo $? 42
For a complete list of functions, see the kdb+ Function Reference.