Hi,
I changed DOMAIN ERROR to RANK ERROR. SVN 614.
/// Jürgen
On 04/25/2015 10:45 AM, Kacper Gutowski
wrote:
On Sat, Apr 25, 2015 at 4:38 AM, Christian Robert
wrote:
a←1 0 0 0 0 1 0 0 1 1 0 0 1
On Sat, Apr 25, 2015 at 4:38 AM, Christian Robert
wrote:
> a←1 0 0 0 0 1 0 0 1 1 0 0 1 1 1 1 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0
> b← 26 27 28
> a[b]
> 0 0 0
> b⊃a
> DOMAIN ERROR
> b⊃a
> ^ ^
I think this should be rank error rather than domain one. But it should
be
while this continue to work as designed:
D←{24 ⎕cr ⍵}
D ∆length
┌2┐
│┌5┐
┌13───
D temp
┌32─┐
│1 0 0 0 0 1 0 0 1 1 0 0 1 1 1 1 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0│
└───┘
D bitsidx
┌5─┐
│28 29 30 31 32│
└──┘
bitsidx⊃temp
D