Understood. Then I suppose the "special handling" is that no result is returned 
when the assignment is made in the session?

---bill lam wrote:
> There is no implied ] verb. The behavior is expected because
> copula is not a
> verb and will not change value passed to it.
> eg.
> d=: 'a b c'=: 1 2 3
>
> d and also result of the J sentence is 1 2 3
>
> Sherlock, Ric wrote:
> > On this page http://www.jsoftware.com/help/dictionary/d310n.htm
> > it states that:
> > "The explicit result is the result of the last non-test
> block sentence executed"
> > And here http://www.jsoftware.com/help/dictionary/ctrl.htm
> > It states:
> > "The final result is the result of the last sentence
> executed that was not in a T block, and if there is no such
> last executed sentence, the final result is i.0 0 ."
> >
> > I think Tracy is asking for pointers to documentation that
> explains why, if the last sentence of an explicit verb is an
> assignment (eg. b=: 99), that the result of the verb is 99.
> This seems a bit strange because when that sentence when
> executed in the session, no result is displayed. It is as
> though the last sentence of an explicit verb is executed with
> an implied ']' (ie. ]b=: 99 )
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to