Ooops, missing something on my examples, correction:  ( missing ⊂ on ⍳3 )

a ← 'abc'(⊂⍳3)99

the 3 examples are the same:
2(⍳0)3⊃a
2⍬3⊃a
(2⍬3)⊃a

On Mon, Dec 23, 2019 at 7:20 PM David Tran <email55...@gmail.com> wrote:

> Hi,
>
> Not sure this is a bug or not, for me, (⍳0) ≡ ⍬, so it seems that both can
> be replaced each other; consider below example:
>
> a←'abc'(⍳3)99
>
> 2(⍳0)3⊃a ⍝ ≡ 3
> 2⍬3⊃a ⍝ ≡ 2 ⍬ 99
> (2⍬3)⊃a ⍝ ≡ 3
>
> Doesn't the second example should return 3 as first example, without the
> need parentheses as third example?
>
> (btw. my version is build from SVN around Oct )
>
>
> Thanks,
> Dave
>
>
>
>

Reply via email to