bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Rank error


From: Juergen Sauermann
Subject: Re: [Bug-apl] Rank error
Date: Thu, 29 May 2014 13:49:21 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Blake,

according to IBM [] binds stronger than vector notation (APL2 language reference, page 34).
IBM APL2 also gives RANK ERROR in the examples below. Eg. 1 2 3[2] is evaluateded as 1 2 ( 3[2] ).

/// Jürgen


On 05/28/2014 06:41 PM, Blake McBride wrote:
      )CLEAR
CLEAR WS
      1 2 3[2]
RANK ERROR
      1 2 3[2]
          ^^
      1 2 3[2 2]
RANK ERROR
      1 2 3[2 2]
          ^^
      x←1 2 3
      x[2 2]
2 2


Of course, they should all work as if they were assigned to a variable first.

Blake



reply via email to

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