Thanks for clarification!

Juergen Sauermann <juergen.sauerm...@t-online.de> writes:

> Hi Alexey,
>
> the IBM APL2 binding rules say that [] binds stronger than vector notation 
> (IBM APL2
> language reference page 34). That is, 
>
> 100 200[1] is 100 (200[1])
>
> IBM APL2 behaves in the same way as GNU APL.
>
> /// Jürgen
>
> On 03/04/2016 08:37 PM, Alexey Veretennikov wrote:
>
>
>  Hi,
>
> When trying to get element by index from the array specified to the left
> side, there is a difference in behavior:
>
> 100 200[1]
> RANK ERROR
>       100 200[1]
>           ^  ^
>
> However:
> (100 200)[1]
> ┌───┐
> │100│
> └───┘
>
>
> In Dyalog APL both expression gives the same result.
> Is it a bug or different understanding of the standard?
>
>

-- 
Br,
/Alexey

Reply via email to