<div dir="ltr"><div>I've asked several questions about this a few months ago (dig squeak-dev if you wish, i'm in a hurry...)<br></div><div>No answer.<br></div><div>You made an effort to comment the classes, but Colin did completely change the implementation without updating the comment...<br></div><div>Now who knows what's in the mind of the conceptor?<br></div>It's like the fresh environment is abandonware...<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-29 19:53 GMT+01:00 Chris Muller <span dir="ltr"><<a href="mailto:ma.chris.m@gmail.com" target="_blank">ma.chris.m@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Trying to debug a server, need to define a global OrderedCollection<br>
"X" which I want to put debugging objects into. In a workspace, I<br>
type:<br>
<br>
X := OrderedCollection new<br>
<br>
System asks me to correct or define a global. I choose to define a global.<br>
<br>
But I still cannot access X. It keeps asking me to correct or define<br>
a global. Yippee, great thing to happen at 4am when you just need to<br>
debug something!<br>
<br>
Digging in shows that when I try to access X, it ends up looking in<br>
Smalltalk environment 'bindings' IdentityDictionary, but when I<br>
defined X, it put the binding #X=>nil into Smalltalk environment<br>
'declarations' only.<br>
<br>
I don't know what 'declarations' vs. 'bindings' are and I don'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 'bindings' instead of 'declarations'?<br>
b) Accessing X should access from 'declarations' instead of 'bindings'?<br>
c) Defining X should put it in BOTH 'declarations' and 'bindings'?<br>
<br>
</blockquote></div><br></div>