Actually it's not obvious. The Dictionary of APL (circa 1987) does not have #, for instance. It took 23 years (after APL\360) and the genius of Arthur Whitney before # was invented.
----- Original Message ----- From: David Vincent-Jones <[email protected]> Date: Wednesday, February 18, 2009 12:32 Subject: Re: [Jprogramming] Rank problem To: Programming forum <[email protected]> > Thank you .. yes # is what I should have used ... obvious in > hindsight. > David > > On Wed, 2009-02-18 at 12:04 -0800, Roger Hui wrote: > > 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
