On 22.12.2012 19:05, Raymond Toy wrote:
>>>>>> "Adam" == Adam <adammaj1 at o2.pl> writes:
>
> Adam> On 22.12.2012 11:13, Mario Rodriguez wrote:
> >> El s?b, 22-12-2012 a las 11:03 +0100, Adam escribi?:
> >>
> >>> e3:2*b^2 ? 3*c^2 -1;
> >>
> >> I get an error when I copy & paste this expression in Maxima. Take a
> >> look at the minus signs, they are not the same character in the second
> >> and third terms. This works:
> >>
> >> e3:2*b^2 - 3*c^2 -1;
> >>
> >> --
> >> Mario
> >>
> >> _______________________________________________
> >> Maxima mailing list
> >> Maxima at math.utexas.edu
> >> http://www.math.utexas.edu/mailman/listinfo/maxima
> >>
> Adam> Thx. That's it.
> Adam> Does Maxima has a procedures to find such (syntax) errors ?
> Adam> Do you use some programs ( ? editors) to find such errors ?
>
> Not sure what Mario did, but maxima complains
>
> stdin:3025:incorrect syntax: ? is not an infix operator
>
> With cmucl, I then did
>
> (%i12) :lisp (describe #\?)
>
> #\? is a BASE-CHAR.
> Its code is #x2212.
> Its name is Minus_Sign.
>
> Compare that with
> (%i12) :lisp (describe #\-)
>
> #\- is a STANDARD-CHAR.
> Its code is #x002D.
> Its name is Hyphen-Minus.
>
> Ray
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
My Maxima is old :
(%i1) build_info()$
Maxima version: 5.22.1
Maxima build date: 22:10 11/8/2010
Host type: x86_64-unknown-linux-gnu
Lisp implementation type: GNU Common Lisp (GCL)
Lisp implementation version: GCL 2.6.7
and it does not complain about syntax but is processing output.
It was misleading. I must update my Linux and Maxima.
The lisp describe is very intresting.
Thx.
Adam