cint, ascii problems



Am 2 Sep 2008 um 21:55 hat Robert Dodier geschrieben:

> Looks like the cint and ascii functions are being supplied by an
> obsolete version of stringproc.lisp. Strings used to be implemented
> as symbols with names which started with & which accounts for
> the &b above. Several months ago Maxima strings were
> reimplemented as Lisp strings. I'm not entirely sure but I think 5.15.0
> should have a version of stringproc which knows Maxima strings = Lisp strings.

The following shows that a stringproc.lisp version prior to 5.13 must have been used.

Volker

(%i1) load("H:/Programme/Maxima-5.13.0/share/maxima/5.13.0/share/contrib/stringproc/\
stringproc.lisp")$
(%i2) cint("B");
(%o2)                                 66
(%i3) ascii(%);
(%o3)                                  B
(%i4) load("H:/Programme/Maxima-5.12.0/share/maxima/5.12.0/share/contrib/stringproc/\
stringproc.lisp")$
(%i5) cint("B");
(%o5)                                 98
(%i6) ascii(%);
(%o6)                                 &b