On 7/2/2012 1:52 PM, J?rome Laurens wrote:
> Hi list,
>
> I am afraid the title is not very well formulated, hence my bad googling results...
>
> here is my problem
>
> given a[1] and b[1], I want a function f such that f(a) will set a[1] to some value whereas f(b) will set b[1] to the same value.
>
> TIA
>
> Jerome
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
What you ask for could be done with macros but I suggest you change your
program so that it looks
like
if test then a[1]:value else b[1]:value.