Here is a simplified version of a problem I've run into in a large project:
Module[{testA, testB},
testA = {1, 2, 3};
testB = {Blue, Dynamic[testA]};
testA = {4, 5, 6};
Save["/Users/markgreenberg/Desktop/testing.wl", {testA, testB}]
]
I desire the saved output to be {RGBColor[0, 0, 1], {4, 5, 6}}
, but instead I get {RGBColor[0, 0, 1], testA\ $154804}. I know that testA\$154804 is the variable name altered by Module, but I want the saved output to be that variable's current content. There's got to be an easy way to do this. Can anyone please point me in the right direction?
Thanks