On Fri, Nov 5, 2010 at 7:34 PM, Henry Rich <[email protected]> wrote:
> It appears that the system works this way:
>
> There is a place in each stack frame where (the result of the
> most-recent sentence not in a T block) is saved.
>
> There is another place in each stack frame where (the result of the most
> recent sentence in a T-block) is saved.  This result is tested at the
> end of the T-block.  This value is set to i. 0 0 when a T block (even an
> empty one) starts execution, and also when a catch. block starts.

I think I see what you are saying.

These have different results:

   3 :('4';'3 :''if.do.end.''y') 0
   3 :('4';'     if.do.end.   ') 0

but they have the same truth value.

(Obviously your collection of examples was far more exhaustive,
mine is only illustrative.)

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to