I'm guessing that D is a string like D =: '0123456789'
and the expression is doing nothing like what you think it's doing. D is a noun. e. D is a noun. ( ] e. D ) is the same noun. It has rank 2. 0 e. ( ] e. D ) would be a noun, but it's a rank error instead because the ranks to the leftmost e. are incompatible. You want something like 0 e. e.&D or 0 e. D e.~ ] (which really seems more like 'has_nondigits') Henry Rich > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Terrence Brannon > Sent: Saturday, June 30, 2007 12:41 PM > To: General forum > Subject: [Jgeneral] has_digits =: 0 e. ( ] e. D ) NB. rank > error - please help > > I would appreciate an answer to why I got a rank error on the > above expression. > > Clearly, it has something to do with the list that comes out of the > first dyadic expression and the fact that there is only a scalar 0 to > agree with that list ... at least that's what I think it is. > > -- > > J IRC Channel irc://irc.freenode.org/jsoftware > ---------------------------------------------------------------------- > For information about J forums see > http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
