Question: save a cat-like variable

Hi all I'd like to have a for that runs for the pilot index inside a list of names, and that saves, for each value of the index a variable in an outer file. My problem is that I want the both the variable's name and the file's name to contain the name of the index, and I cannot obtain this behavior, as save asks for a name, not a command. My code would be something like A:=[a,b,c]; for i in A do cat(Mickey_,i):= something; #### that will correctly create Michey_a, Michey_b and Michey_c save cat(Mickey_,i), "./cat(Mickey_,i).txt" ###### this doesn't work because maple create a file named cat(Mickey_,i).txt and not Michey_a.txt, etc. end do is there a way to obtain the behavior I desire? Thanks S.
Please Wait...