indirect subscripted variable assignment



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