Often i like to structure different patterns/parts of a longer piece in a dictionary like this:
( part1: Pbind(...), part2: Pbind(...), etc )
Now, if i want to have a shared variable/key, local to this dictionary’s environment; how do i do that?
This doesn’t work obviously:
( sharedVar: [0, 3, 5, 7], part1: Pbind(\degree, ~sharedVar), part2: Pbind(\degree, ~sharedVar) );
I tried some of the examples in the Environment helpfile but today (and possibly tomorrow as well) i’m to stupid to understand how to do this.