Behaviour of obase has changed



On Fri, May 1, 2009 at 2:25 PM, Mario Rodriguez <biomates at telefonica.net> wrote:

> (%i1) block([obase : 16], makelist(concat(k), k, 0, 15)) ;
> (%o1)       [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0A, 0B, 0C, 0D, 0E, 0F]

I fixed the input parsing stuff so that it's possible to input digits
A to Z in bases greater than 10 decimal. (Digits 0 to 9 were
recognized in the assigned base, but not A to Z.)
However A to Z are recognized only if the leading digit is 0 to 9.
Otherwise it's recognized as a symbol. That preserves ordinary
function names and variables. I made a corresponding change
to the display code so that displayed numbers are readable as
such, therefore they have a leading 0.
? ibase and ? obase state the current policy.

best

Robert Dodier