Roger Hui wrote:
So what should be the result of the following and why?
   > (3 0$0 );(0 4$'')
   > (4 0$'');(3 0$0 )

There ain't such thing in the context of inverted table. I wasn't asking theoretical question. A practical scenario is importing data from excel having 2 columns for code and descriptions such as,
  code  descr
  A     aaa
  B     bbbbbb
  C     cccccccccc
They are read into rank-2 box text array and then converted into inverted table for processing. The description cell may be very long and it may need to limit to a certain length, so that {. is needed, say
  descr=. 10{. 1{:: ivt

Someone may not fill anything in an entire text column inside excel. I think that Henry's suggestion works for me.
   < 6{.(!.' ')("1) 1{:: ifa 3 2$ 'ab';''
+------+
|      |
|      |
|      |
+------+
Thanks to Henry for workaround suggestion and Roger for response.

--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to