Reference/LeftRightAngleBracket

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

<> is very closely related to =, and simply returns the opposite result:

q)a:1 2 3
q)(a<>2) ~ not a=2
1b

For binary values, <> is the same as exclusive or (xor).

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox