I have a list of DyamicVariables that I would like to set at the same time.
If there were two in the list the code would look like so.
state: state during: aBlock
DynamicVar1 use: (DynamicVar newValueFor: state) during: [ DynamicVar2 use: (DynamicVar newValueFor: state) during: aBlock ]
Now if there were any number of this things in an OrderedCollection how would I efficiently or otherwise evaluate this code nested n times deep.
thanks in advance
Keith