From Kx Wiki
Revision as of 17:45, 24 July 2013 by Alexander Belopolsky
last (last function)
Analogous to first, except that it returns the last element of its argument.
When applied to a dictionary, returns the last value. For example:
q)last `a`b`c!1 2 3 3
For a complete list of functions, see the kdb+ Function Reference.