I am trying to create an empty list and add an element but the list is not being populated.
My code
configsPermTerms = List[]; Append[configsPermTerms, {{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 8}] Length[configsPermTerms] configsPermTerms
Output
{{{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 8}}
0
{}
What am I doing wrong?
AppendTo? – bill s Apr 08 '16 at 20:26