Reference/Colon

From Kx Wiki
Revision as of 20:55, 7 August 2012 by Michael Gottlieb (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

return

amend

One more obscure use of the colon is to explicitly select the single-argument meaning of a function. This is not particularly readable but can save characters.

q),:[3]    / same as enlist 3
,3
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox