Hi,

the domain of < and others could be extended to include characters.

Sorting with /: and \: implies there is an "order" relation between
characters.


J

On Fri, Dec 9, 2022 at 6:21 AM Donna Ydreos <[email protected]> wrote:

> The domain of < is numeric. You can create a function for letters with
> reference to alphabetic order or some given order including say all ASCI
> characters.
>
> > On Dec 9, 2022, at 3:47 AM, Jimmy Gauvin <[email protected]> wrote:
> >
> > Hi all,
> >
> > testing character data for equality works fine but testing for relative
> > order does not.
> >
> >   'a'<'v'
> >
> > |domain error
> >
> > |   'a'    <'v'
> >
> >   'a'='v'
> >
> > 0
> >
> > Is this explained somewhere ?
> >
> > Thanks,
> >
> > Jimmy
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to