[Jprogramming] Multi sort
Raul Miller
rauldmiller at gmail.com
Fri May 18 05:52:23 HKT 2007
On 5/17/07, Roger Hui <rhui000 at shaw.ca> wrote:
> What if the argument is not numeric?
I would use numeric placeholders.
For character arguments, that's fairly simple -- I could
use a.i.]
For boxed arguments, that's a bit more difficult, but I
could use numbers that sort the same way, for example
perhaps something like /:^:2"1&.|: (That would work for
a 2 dimensional array, but is probably not quite right for
higher dimensions.)
Hypothetically speaking, the boxed mechanism would
also work for character args (though not so fast).
And, if I wanted something fully general, I guess I'd have to
make myself a verb which distinguishes these types to
control an agenda.
--
Raul
More information about the Programming
mailing list