<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 29, 2014 at 11:53 AM, Chris Muller <span dir="ltr">&lt;<a href="mailto:ma.chris.m@gmail.com" target="_blank">ma.chris.m@gmail.com</a>&gt;</span> wrote:<br><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don&#39;t know what &#39;declarations&#39; vs. &#39;bindings&#39; are and I don&#39;t care,<br>
I just need to be able to define the global, could someone pelase tell<br>
me the proper fix?<br>
<br>
  a) Defining X should put it in &#39;bindings&#39; instead of &#39;declarations&#39;?<br>
  b) Accessing X should access from &#39;declarations&#39; instead of &#39;bindings&#39;?<br>
  c) Defining X should put it in BOTH  &#39;declarations&#39; and &#39;bindings&#39;?<br></blockquote><div><br></div><div>Hi Chris,</div><div><br></div><div>It&#39;s c), unless you&#39;ve set up your environment not to do that, which should not the case for &quot;Smalltalk globals&quot;. </div><div><br></div><div>In my (admittedly old) trunk image, declaring a global the way you describe works, as does Levante&#39;s suggestion of &quot;Smalltalk at: #X put: OrderedCollection new.&quot; I guess the urgency of your debugging effort is over, but you could have gotten going again by copying the binding from &#39;declarations&#39; to &#39;bindings&#39;. </div><div><br></div><div>Colin</div><div><br></div><div>PS. I&#39;m not paying close attention to squeak-dev these days, but I&#39;m not completely off the grid, so feel free to CC me directly if you want to nudge me on a particular issue. </div></div></div></div>