axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] [#97 match not working] (new)


From: anonymous
Subject: [Axiom-developer] [#97 match not working] (new)
Date: Fri, 11 Feb 2005 05:03:50 -0600

The hyperdoc documentation gives this example,

\begin{verbatim}
match("*to*","yorktown","*")
\end{verbatim}

and says that it would return 5. But the interpreter will not coerce "*" to a 
character, and even if manually converted, a system error occurs. However, 
match? works.

\begin{axiom}
match("*to*","yorktown","*")
match("*to*","yorktown",char("*"))
match?("*to*","yorktown",char("*"))
\end{axiom}

William
--
forwarded from http://page.axiom-developer.org/zope/mathaction/address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]