The result of $ in this case is a one-element vector, which is a mismatch with a 5-element vector. You can use # instead of $ .
----- Original Message ----- From: David Vincent-Jones <[email protected]> Date: Wednesday, February 18, 2009 11:55 Subject: [Jprogramming] Rank problem To: JSoftware <[email protected]> > OK .. I know this is a rank problem but I still have difficulties > understanding how to solve this simple question. > > ($'abc')=4 2 7 3 9 > |length error > | ($'abc') =4 2 7 3 9 > > David ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
