Reference/exit

From Kx Wiki
Jump to: navigation, search

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

See also


For a complete list of functions, see the kdb+ Function Reference.

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox