Re: Partial loop counter override by local variable

Frederick Cheung
Sun, 03 Aug 2008 22:44:09 -0000

On 3 Aug 2008, at 23:35, MarkMT wrote:
>
> Unfortunately, the ability to do this appears to have disappeared in
> 2.1, and leaves me resorting to some pretty nasty stuff to achieve the
> same effect. It appears that regardless of the value passed to the
> local variable, when the partial is invoked on an object, internally
> the variable is just set to zero.
>
Looks like it''s back in edge :-)
Assuming it''s desirable behaviour, sounds to me like the right thing
to do would be to add a test for it so that it doesn''t get trampled on
in the future.

Fred

> This seems like a step backwards. Anyone want to explain the thinking
> behind this, or suggest an elegant alternative strategy for
> implementing the kind of case I described?
> >