load(true)



Also load(opsubst)--> load("t.mac").  I'm not the only person 
that has made the mistake of load(opsubst) instead of load("opsubst"). 

Barton

maxima-bounces at math.utexas.edu wrote on 11/17/2009 10:34:39 AM:

> [image removed] 
> 
> [Maxima] load(true)
> 
> Stavros Macrakis 
> 
> to:
> 
> maxima mailing list
> 
> 11/17/2009 10:34 AM
> 
> Sent by:
> 
> maxima-bounces at math.utexas.edu
> 
> load(true) currently loads .../share/maxima/5.19.2/share/contrib/
> gentran/test/T.mac .
> 
> Two problems here.  First of all, it is using the internal print 
> form of true (T) rather than the Maxima print form.
> 
> Bigger problem: load(true) is almost certainly a user error, where 
> the user should have been quoting the argument.  For example, load
> (simp) will load T.mac above.
> 
> I would recommend that
> 
>    1) we rename the file T.mac to something else
>    2) we give an error for a boolean or numeric argument to load
>    3) that load use the Maxima print form of its argument, not the 
> Lisp print form (not sure if there are any other cases that matter here)
> 
> More radically, I'd like to recommend that load only accept a string
> argument, but that would probably break too much code and too many 
habits....
> 
>             -s_______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima