Instructive in several ways. Thanks.
2007/12/28, Roger Hui <[EMAIL PROTECTED]>: > mbn=: ] [^:(_.=]) _.&". > mbn '12e3' > 12000 > mbn '3+45' > 3+45 > > > > ----- Original Message ----- > From: June Kim <[EMAIL PROTECTED]> > Date: Thursday, December 27, 2007 4:41 > Subject: [Jprogramming] Numbers for numbers, otherwise leaving alone > To: Programming forum <[email protected]> > > > Current numbers operation is: > > ". '12223' > > 12223 > > ". 'David' > > > > > > I could change the behavior when y can't be turned into a number: > > > > _99 ". 'David' > > _99 > > > > However, how would you define a verb that is: > > > > maybe_numb '12223' > > 12223 > > maybe_numb 'David' > > 'David' > > > > I am looking for a simple solution. > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
