got it, thanks to everybody ----- Original Message Follows ----- From: Raul Miller <[email protected]> To: Programming forum <[email protected]> Subject: Re: [Jprogramming] sets within a set Date: Thu, 16 Jul 2009 18:50:59 -0400
>On Thu, Jul 16, 2009 at 6:35 PM, >> <[email protected]> wrote: setLess =:: -. [ > >I get a spelling error from this. > >Instead, I would do: > setLess =: -. > >> 1; 2; 3; 4 setLess 1; 4 >> >> should return boxed >> 2 3 > >No, you have ignored precedence. The >above is equivalent to > 1; 2; 3; (4 setLess 1; 4) >or > 1; 2; 3; (4 -. 1; 4) >or > 1;2;3;4 > >(since 4 and boxed 4 are different.) > >But > (1; 2; 3; 4) -. 1; 4 >should give you the result you want. > >-- >Raul >----------------------------------------------------------- >----------- For information about J forums see >http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
