On Sun, Feb 26, 2012 at 10:08 AM, Linda Alvord <lindaalv...@verizon.net> wrote:
>  What is the difference between these two?

Grammar.

>   ]\.'abcde'
> abcde
> bcde
> cde
> de
> e

Look at the documentation for (\.),
http://www.jsoftware.com/help/dictionary/d431.htm. The left argument
to the suffix adverb \. is expected to be a verb or gerund. As such,
(]\.) produces a valid derived verb that applies right-identity to
suffixes of 'abcde'. Another example,

<\.'abcde'
+-----+----+---+--+-+
|abcde|bcde|cde|de|e|
+-----+----+---+--+-+

where <\. is a derived verb that boxes suffixes.

>   'abcde'\.'abcde'
> |domain error
> |       'abcde'\.'abcde'

The domain error is due to the left argument to suffix (\.) being a
noun rather than a verb. By way of analogy, consider the difference
between,

'abc'/
|domain error
|       'abc'/

and

   ]/
]/

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

Reply via email to