In the first line of my code the values of m
and n
are decided. After running it, three important lists are generated, say list1
, list2
and list3
. I am using
Save["list1-mn.m", list1]
Save["list2-mn.m", list2]
Save["list3-mn.m", list3]
at the final to save the results. But I have to change the name of these files every time I ran the code for different values of m
and n
, to avoid subscribing. Is there a way to auto change the name of the files according to the values of m
and n
? For example, if I put m=3
and n=5
at the beginning of the code, I have to change the scope of Save
manually to
Save["list1-35.m", list1]
Save["list2-35.m", list2]
Save["list3-35.m", list3]
before running the code. Is there a way to do this automatically? For me, it is important to save the files, no matter if the function used is Save
or another one.