On Tue, Feb 26, 2008 at 12:36 AM, Roger Hui <[EMAIL PROTECTED]> wrote: > You get another order of magnitude increase in difficulty > if you have NaN in arrays. Does Javascript allow that?
Javascript lets you have NaN in arrays, but javascript's array methods either treat all array values as their string representation or do not care about the values at all. For example, Javascripts' array sort method requires the user provide the function which compares two values from that array. So, anyways, I do not think that Javascript's array handling and NaN support serves as a good model for J (or, really, for any language with serious support for numeric arrays). -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
