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
