[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] indexing of the array

From: Juergen Sauermann
Subject: Re: [Bug-apl] indexing of the array
Date: Sat, 05 Mar 2016 12:12:05 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

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:

When trying to get element by index from the array specified to the left
side, there is a difference in behavior:

100 200[1]
      100 200[1]
          ^  ^

(100 200)[1]

In Dyalog APL both _expression_ gives the same result.
Is it a bug or different understanding of the standard?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]