| Original Message (ID '124888') By CCOsborn: |
| What is interesting to me and it not mentioned in the documentation is that, if...
l={1,2}
Append[l,x]
Results in {1,2,x}
Yet,
For[i=0,i<4,i++,Append[l,x]]
does not change l, why???
Yes, AppendTo does what you would expect.
What is the difference? |
|