As I mentioned in the earlier thread [1], to get the format I think you're after you need to use 2 1 as the left argmument (i.e 2 1 dir '' ).
[1] http://www.jsoftware.com/pipermail/general/2011-February/034354.html On Wed, Mar 16, 2011 at 12:57 AM, Devon McCormick <[email protected]> wrote: > The J7 supplied function "dir" (from stdlib) behaves differently from the > simple version I was using in J6 (dir=: 1!:0@<) - the J7 version does not > return directories if used with the left argument "2". I had thought that > over-riding "dir_z_" by defining "dir=: 2&dir_z_" would get me the behavior > I was used to where the result is a handy five-column array of directory > info but, since it fails to include directories, I'll have to revert to my > old definition as it's much handier. It's unfortunate to be thwarted in my > attempts to clean up my act and use standard, supplied functions where > possible but at least the old, simple definition remains compatible. > > -- > Devon McCormick, CFA > ^me^ at acm. > org is my > preferred e-mail > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
