how to parameterise local variables?



Robert Dodier wrote:
> On 7/18/08, Oliver Kullmann <O.Kullmann at swansea.ac.uk> wrote:
>
>   
>>  My first question is whether some helper functionality already
>>  exists in Maxima to handle the common tasks of creating new
>>  variable names, translating between the different forms etc. ?
>>     
>
> Well, to generate a new variable, you can call the Lisp GENSYM function.
>
> foo : ?gensym ();
>  => g36372
> bar : ?gensym (1234);
>  => g1234
> baz : ?gensym ("quux");
>  => QUUX36373
>
> The case inversion (quux --> QUUX) is an artifact of Lisp's bizarre
> case sensitivity rules. Oh well. You don't need to know the assigned
>   
It's not Lisp's bizarre case sensitivity rule.  It's maxima 
implementation of case sensitivity which causes this.

Ray