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? |
- [Bug-apl] indexing of the array Alexey Veretennikov
- Re: [Bug-apl] indexing of the array Juergen Sauermann
- Re: [Bug-apl] indexing of the array Alexey Veretennikov
- Re: [Bug-apl] indexing of the array Elias Mårtenson
- Re: [Bug-apl] indexing of the array Alexey Veretennikov
- Re: [Bug-apl] indexing of the array Juergen Sauermann
- Re: [Bug-apl] indexing of the ar... Jay Foad