[chuck-users] setting static data at construction (bug)

Kassen signal.automatique at gmail.com
Thu Sep 11 09:48:21 EDT 2008


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20080911/ff488e33/attachment.htm>

More information about the chuck-users mailing list