On 31-Jan-09, at 9:05 PM, lowly coder wrote:
Cool, thanks!
The 'problem' I see with this, is that I have to know before hand that I want this variable to be dynamic. The use case here is:
I'm looking at an existing code base, it has 'foo', which depends on 'bar'.
I want to call existing function 'foo' with a new definition of 'bar'.
Is there no other way than to edit the definition of bar and make it a parameter?
Yes... dynamic-wind.
Marc