Interesting. Given the following definition of pp: ∇Z←X pp Y ⎕←'comparing' ⎕←' X=' (8⎕CR X) ⎕←' Y=' (8⎕CR Y) Z←X≡Y ∇
I get the following output: *(⊂'foo') pp¨ (,⊂'foo')* comparing X= ┌─────┐ │┌→──┐│ ││foo││ │└───┘│ └∊────┘ Y= ┌→────┐ │┌→──┐│ ││foo││ │└───┘│ └∊────┘ Seems to be to be a bug in the implementation of ¨ (each). Regards, Elias On 14 July 2014 11:28, Blake McBride <blake1...@gmail.com> wrote: > GNU APL: > > > (⊂'myfile')≡¨⊂'myfile' > 1 > (⊂'myfile')≡¨,⊂'myfile' > 0 > > > IBM APL 2 returns 1 in both cases. I had a vector I was using. I got one > result when I had 2 or more elements, and another result when there was > only one element - even though it was still a vector. IBM's result is > consistent regardless of 0, 1, 2 or more elements. > > Thanks. > > Blake > >