I have many (say 2 for now) associations that I want to save to a file
<|"A" -> 1 , "B" -> 2|> >>> NotebookDirectory[] <> "TEST.m"
<|"A" -> 11 , "B" -> 22|> >>> NotebookDirectory[] <> "TEST.m"
Now I would like to somehow get all this expressions into a list, obtaining
{<|"A" -> 1 , "B" -> 2|>,<|"A" -> 11 , "B" -> 22|>}
But if I do
loaded = Get[NotebookDirectory[] <> "TEST.m"]
I obtain only the last one
<|"A" -> 11 , "B" -> 22|>
What is the correct thing to do?
"ExpressionList"on my mind. You might want to add that that problem hasn't anything to do with the fact that the OP is saving associations, he'd have had the very same problem withPutAppendlists or even just numbers... – Albert Retey Sep 27 '14 at 19:39