Within: Difference between revisions
"Paragraph cleanup"
(add within primtive) |
("Paragraph cleanup") |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 3:
The '''within''' primitive checks if an integer/character <code>i</code> is in the range defined by a two element vector <code>a</code>.
== K7 ==
<pre>
Line 15 ⟶ 16:
0
</pre>
== K4 ==
In K4<ref>https://code.kx.com/q/ref/within/</ref>, the range is inclusive of both the first and the second element.
== References ==
[[Category:Verbs]]
[[Category:Named verbs]]
[[Category:Primitives]]
|