On Tue, Sep 1, 2009 at 5:44 PM, Alexander Mikhailov<[email protected]> wrote: > Thank you very much, Matthew. Henry Rich, please, please, include this > bit of information explicitly into the next revision of your great book. > Yes, I'm newbie, and yes, I don't fully understand the logic of verb > definitions, or I could've tried to guess that myself, but it's still a > pity I was in the dark for so long regarding this matter.
I did not find a multi-line example of this, but he does say: http://www.jsoftware.com/help/jforc/verb-definition_revisited.htm The point to note is that a verb-definition sequence is just an instance of a compound verb produced by a conjunction, and the resulting verb can appear anywhere a verb is allowed; when the resulting verb is executed, it operates by interpreting the text of the definition one line at a time. You may assign the verb to a name but that's not required. Here are some examples showing how a definition is just an ordinary part of a sentence: addrow =: monad : '+/y' "1 ... FYI, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
