I wrote: > a =: 2 +: :: 3: 0 > will give 'a' the value 3 > if +: raises an error, or 2 +: 3 otherwise
Sorry, I meant "2+:0 otherwise" (if the dyadic domain of +: included non-boolean integers). -Dan Please excuse typos; composed on a handheld device. On Sep 14, 2013, at 1:18 PM, Dan Bron <[email protected]> wrote: > a =: 2 +: :: 3: 0 > > Which will give a the value 3 (noun, not verb) if +: raises an error, or 2 +: > 3 otherwise ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
