On Wed, Mar 24, 2010 at 2:59 PM, Sprague, Webb (OFM) < [email protected]> wrote:
> > rtn e. <'NO' > > > > will check each atom of rtn to see if the atom is > > <'NO' > > and if there are no atoms in rtn, or if the first one is <'NO', > > the test will be declared true. > > In the languages I am familiar with there would need to be an "==" or > some such in there. Is "element of" like a Boolean? > > > Yes, dyadic (e.) is a boolean function. It returns 1 (for true) and 0 (for false) in comparing each item in the left argument for match with any item in the right argument. Details on this verb are available in the Dictionary Vocabulary. http://www.jsoftware.com/help/dictionary/dedot.htm As others have indicated, it will be difficult to learn the meanings and utility of verbs from studying vocabulary entries alone. More importantly, it will be very difficult to investigate, modify, or extend a sizable J script without real understanding of the ways in which J is distinctive. Study of the language fundamentals will serve you well. Tracy ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
