Error comparing strings



On Sun, Sep 7, 2008 at 10:25 AM, Richard Hennessy <rvh2007 at comcast.net> wrote:

> (%i1) is("John">"Barry");
> Maxima encountered a Lisp error: Error in PROGN [or a callee]:

Well, that's a bug. A work-around is to call ordergreatp or orderlessp
for which all Maxima expressions are comparable.
e.g. ordergreatp("John", "Barry") => true.

The function "sort" orders stuff according to orderlessp by default.

Should be easy to make strings comparable by < <= >=  and > .
(Already = # equal and notequal are OK.)

best

Robert Dodier