As the title says: What's the purpose of Unique?
- I understand that it generates some unique symbol, but when and for what is it to be used? Are there applications in practical solutions, or is it for the backend of programs (I noticed that
Blocketc use variable names similar to whatUniquecreates)? - How do I use a variable generated by
Unique? Do I store its name in another variable and then use that as a pointer of some sort by converting its content (e.g.$123) to an expression somehow?
Uniqueis the answer for. I'm aware of what it does, just not when and how. – David Jan 21 '12 at 09:02Temporaryto avoid polluting the namespace with a large number of symbols. – Szabolcs Jan 21 '12 at 09:07