It is possible to use the extra unused y as comment gt20=:20<[ 15 10 35 21 gt20 'true if one otherwise false if zero' 0 0 1 1
2011/12/25 Björn Helgason <[email protected]> > If you want to use x as the example is showing you could do it like this > > gt=:20<[ > 21 gt '' > 1 > > > 2011/12/25 R.E. Boss <[email protected]> > > No. >> Lochbaum stated it correctly. >> It was you who did not recognize >&20 as a (monadic) verb. >> >> gt=: >&20 >> >> 4!:0 <'gt' >> 3 >> >> >> R.E. Boss >> >> >> > -----Oorspronkelijk bericht----- >> > Van: [email protected] [mailto:programming- >> > [email protected]] Namens Björn Helgason >> > Verzonden: zondag 25 december 2011 9:49 >> > Aan: Programming forum >> > Onderwerp: Re: [Jprogramming] Debian Forum comparing J to Brainf* >> > >> > " I once had a friend tell me that "if (x>20) return true; else return >> > false;" was clearer than the J equivalent ">&20". I hope you can see >> past " >> > >> > Then this should be ">&20 y" >> > >> >> >> ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
