over not working with booleans

1b &\ 1000000010b /works

1b &/ 1000000010b /gives nyi, why?

Hi,
I’m assuming this actually hasn’t be implemented for the syntax you’re trying to use.

You can however use this format

q){x&y}[1b;1000000010b]

1000000000b

q){x&y}/[1b;1000000010b]

0b

Which should return the value you’re looking for. I’m not quite sure what you’re trying to do, but this operator may also be of use:

q)all 1000000010b

0b

q)all 1111111111b

1b

As, for your scan/over, as soon as there is a 0b present, the rest of the list will always be 0b. So all will essentially the same value as last value using scan/over.

Regards,
Matt

Whenever you get “nyi” - this means that whatever you’re trying to do makes sense, but it has not been yet implemented by KX.