mset error messages



Re: ...What about plus and minus?  We can currently assign values to
these....

The very prudent always quote things like plus, minus, inf, all, etc. (e.g.
if solve(...)='all then...; limit(...,'x,'inf); ...).  But realistically,
most users won't do that.  I'd be for having plus and minus be un-msetable
(though I suspect Robert D will object on the theory that sometimes you
really DO want to shoot yourself in the foot :-) ).

           -s

On Mon, Mar 29, 2010 at 16:08, Raymond Toy <toy.raymond at gmail.com> wrote:

> On 3/29/10 3:49 PM, Stavros Macrakis wrote:
> > Leo,
> >
> > I suppose (1) is the most user friendly, though of course there are
> > natural groupings:
> >
> > %pi, %e, %i, %phi, %gamma, etc. -- "Error: Cannot set mathematical
> > constants to values; for numerical evaluation, see ? float and ? bfloat."
> > inf, minf, etc. -- "Error: %s is a system-defined constant and cannot
> > be set to a value; see ? %s; to substitute a specific value, see ?
> > substitute" (note that zeroa should never be returned by a Maxima
> > function, which is why I didn't include it in this list)
> > und, all, false, true, zeroa, etc. -- "Error: %s is a system-defined
> > constant and cannot be set to a value; see ? %s" (we should add a
> > documentation string to 'all', btw)
> I didn't know that we could not assign a value to all.    What about
> plus and minus?  We can currently assign values to these.  I've done
> this by accident before and then wondered a bit why one-sided limits
> weren't working. :-)
>
> Ray
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>