booltest =. (0<+./) *. 0<# is designed to return 0 for 0 0 0 and i.0, and hopefully this:
booltest i.0 0, but: (i.0) -: booltest i.0 0 1 the problem with all of this is: 3 : 'if. booltest i. 0 0 do. 1 else. 0 end.' 4 1 so, it appears I need a 3 part test? How would I write it? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
