<div dir="ltr">Just checking to see that I understand this. So these two pieces of code should result in different behaviour (not sure if you can reference static variables in classes like this, but you get my drift):<br><br>
class DaClazz {<br>&nbsp; 8 =&gt; static int daVariable;<br>}<br>9 =&gt; DaClass.daVariable;<br>DaClazz objektz[7];<br><br>------------------<br><br>class DaClazz {<br>&nbsp; static int daVariable;<br>&nbsp; 8 =&gt; daVariable;<br>}<br>
9 =&gt; DaClass.daVariable;<br>DaClazz objektz[7];<br><br>After the first has executed daVariable = 9. After the second has executed daVariable = 8.<br><br>...?<br><br>/Stefan<br><br><div class="gmail_quote">On Wed, Sep 10, 2008 at 4:49 PM, Stephen Sinclair <span dir="ltr">&lt;<a href="mailto:radarsat1@gmail.com">radarsat1@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Tue, Sep 9, 2008 at 9:42 PM, Kassen &lt;<a href="mailto:signal.automatique@gmail.com">signal.automatique@gmail.com</a>&gt; wrote:<br>

&gt; Stephen Sinclair;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hey, just wanted to mention: i encourage you (chuckers? chuckists?<br>
&gt;&gt; chuckians?) to post bugs here or on the dev list, even if you get<br>
&gt;&gt; little response. &nbsp;At some point in the future we can do a simple<br>
&gt;&gt; search through the lists for the keyword &quot;bug&quot; and collect them all,<br>
&gt;&gt; so please don&#39;t be afraid to make these kind of posts.<br>
&gt;<br>
&gt; I took that to mean you agree this is a bug and not a feature?<br>
<br>
</div>Initializing static data is pretty useful, so if there&#39;s no other way<br>
to do it then yes I&#39;d agree.<br>
Well, you can do it I guess by sticking initialization code after the<br>
class, but I think your proposal is cleaner.<br>
<div><div></div><div class="Wj3C7c"><br>
Steve<br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Release me, insect, or I will destroy the Cosmos!<br>
</div>