[chuck-users] setting static data at construction (bug)
lucas samaruga
samarugalucas at gmail.com
Thu Sep 11 21:23:22 EDT 2008
Hello
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
defined
Cheers
Lucas
2008/9/11, Kassen <signal.automatique at gmail.com>:
>
> Stephen;
>
> 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.
>
> Yours,
> Kas.
>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20080911/c8dc4589/attachment.html>
More information about the chuck-users
mailing list