Thank you very much for your answer, hereafter is an example that, run
in 5.16.3, complains about ssearch not being fed with the correct types,
but I encounter problems with other maxima functions, e.g. sunlisp. I'm
not sure they're all related to strings. Is there a generic way to cope
with this kind of failures?
/* Distinct(s,m): Returns the distinct signs in seq or the cardinality
of its set.*/
Distinct(seq,[mode]):=block(
[chiffre,i,lys,res],
lys:charlist(seq), res:"",
for i while length(lys)>0 do(
chiffre:first(lys), lys:rest(lys),
if is(ssearch(chiffre,res)=false) then (res:sconc(res,chiffre))
),
if length(mode)>0 then slength(res) else return(res)
);
On Tue, 28 Oct 2008 21:34:18 -0700, "Robert Dodier"
<[EMAIL PROTECTED]> said:
> Hello, there were various changes in the stringproc package over
> the last several Maxima versions. Perhaps that is the cause of the
> errors. Can you please be more specific about the functions you are
> using, and the errors that you observe?
>
> Perhaps I have misunderstood. I can't read French very well,
> and I can't write it at all, sorry.
>
> All the best
>
> Robert Dodier
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Maxima-lang-fr mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maxima-lang-fr