[chuck-users] setting static data at construction (bug)
samarugalucas at gmail.com
Thu Sep 11 21:23:22 EDT 2008
I think the fact that
there is no builder is the problem
It makes the rules are not clear to me, perhaps proper behavior is not
2008/9/11, Kassen <signal.automatique at gmail.com>:
> Because "count" is only initialized to 10 once, even though it's done
>> inside the loop. Because of "static", the initialization assignment
>> is only executed once, at the time of allocation.
> I agree fully and this is roughly what I meant to say.
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the chuck-users