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