Jacobs, Jan wrote: > Do not know if this was reported earlier but I expected a domain > error (J504): > > 'abcde' i. s:'a';'b' > 5 5
I would not expect a domain error. What would the domain restriction be? Only elements in the left argument are in the domain? 'abcde' i. 'fg' 5 5 'abcde' i. 4 5 5 5 If an index in the result is larger than a valid index for the left argument, that means you have something in the right argument which is "outside the domain represented by the elements in the left argument". This all fits the dictionary definition: http://www.jsoftware.com/books/help/dictionary/didot.htm -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
