[Jprogramming] Re: Numbers for numbers, otherwise leaving alone
June Kim
juneaftn at gmail.com
Thu Dec 27 21:00:15 HKT 2007
well, I thought of a simple way just after posting my question here:
".`] @.(''-: ".)
2007/12/27, June Kim <juneaftn at gmail.com>:
> 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.
>
More information about the Programming
mailing list