sorry common mistake:

   1 2 -.@:(+./)@:e.~ 3 3 3 4 1
0


----- Original Message -----
From: Pascal Jasmin <[email protected]>
To: "[email protected]" <[email protected]>
Cc: 
Sent: Wednesday, February 19, 2014 4:34:28 PM
Subject: [Jprogramming] weird behaviour with [: vs @:

I don't understand the source of this issue:

   1 2 -.@+./@:e.~ 3 3 3 4 1
1

   1 2 -.@:+./@:e.~ 3 3 3 4 1
1

   1 2 ([: -. +./@:e.~) 3 3 3 4 1
0

The 3rd one is the "correct" intention.  But I thought these were equivalent 
forms.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to