<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thank you everyone for your alacritous responses!&nbsp;<div><br></div><div>I'm finding one of the challenges in learning Smalltalk is not the syntax of the code, nor the general paradigm by which the code is implemented, but understanding the tools well enough to make things happen. I'm an experienced programmer and I'm finding that I'm having to completely rethink the way I go about my work when diddling around with this language. That's not in and of itself a bad thing - just saying I'm thankful for this mailing list :-)&nbsp;<br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br class="Apple-interchange-newline"><br></div><div>David Holiday&nbsp;<br>-------------------------------------------------</div><div>San Diego State University</div><div><a href="mailto:neuburge@rohan.sdsu.edu">neuburge@rohan.sdsu.edu</a><br><br></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></div></span></span>
</div>
<br><div><div>On Jan 1, 2014, at 4:00 AM, <a href="mailto:beginners-request@lists.squeakfoundation.org">beginners-request@lists.squeakfoundation.org</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Send Beginners mailing list submissions to<br><span class="Apple-tab-span" style="white-space:pre">        </span><a href="mailto:beginners@lists.squeakfoundation.org">beginners@lists.squeakfoundation.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br><span class="Apple-tab-span" style="white-space:pre">        </span>http://lists.squeakfoundation.org/mailman/listinfo/beginners<br>or, via email, send a message with subject or body 'help' to<br><span class="Apple-tab-span" style="white-space:pre">        </span>beginners-request@lists.squeakfoundation.org<br><br>You can reach the person managing the list at<br><span class="Apple-tab-span" style="white-space:pre">        </span>beginners-owner@lists.squeakfoundation.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Beginners digest..."<br><br><br>Today's Topics:<br><br> &nbsp;&nbsp;1. Re: object instance browser? (Herbert K?nig)<br> &nbsp;&nbsp;2. Re: object instance browser? (Chris Muller)<br> &nbsp;&nbsp;3. Re: object instance browser? (karl ramberg)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Tue, 31 Dec 2013 14:50:55 +0100<br>From: Herbert K?nig &lt;herbertkoenig@gmx.net&gt;<br>Subject: Re: [Newbies] object instance browser?<br>To: beginners@lists.squeakfoundation.org<br>Message-ID: &lt;52C2CBBF.6050801@gmx.net&gt;<br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>Merci vielmals.<br><br>Am 31.12.2013 11:27, schrieb Bert Freudenberg:<br><blockquote type="cite">Yes, multiple ones in fact. This is a major reason working in <br></blockquote><blockquote type="cite">Smalltalk feels more immediate than in other environments.<br></blockquote>......<br>Great explanation scrubbed<br><br><br>------------------------------<br><br>Message: 2<br>Date: Tue, 31 Dec 2013 13:02:51 -0600<br>From: Chris Muller &lt;asqueaker@gmail.com&gt;<br>Subject: Re: [Newbies] object instance browser?<br>To: "A friendly place to get answers to even the most basic questions<br><span class="Apple-tab-span" style="white-space:pre">        </span>about<span class="Apple-tab-span" style="white-space:pre">        </span>Squeak." &lt;beginners@lists.squeakfoundation.org&gt;<br>Message-ID:<br><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;CANzdToH+hPyJqeBqSdWLwROi5w_SbdAu_G9oWm3BgRkTqa=z9w@mail.gmail.com&gt;<br>Content-Type: text/plain; charset=UTF-8<br><br>Great post, I learned some new things.<br><br>On Tue, Dec 31, 2013 at 4:27 AM, Bert Freudenberg &lt;bert@freudenbergs.de&gt; wrote:<br><blockquote type="cite">On 31.12.2013, at 08:53, David Holiday &lt;neuburge@rohan.sdsu.edu&gt; wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">Is there a way to browse the ecosystem of objects in a Smalltalk image?<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Yes, multiple ones in fact. This is a major reason working in Smalltalk feels more immediate than in other environments.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">I'm not talking about the class browser, what I'm looking for is a way to see what objects have actually been instantiated and what their state is.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The basic tool for this is called an Inspector. Whenever you have an expression, like "3 + 4", you press cmd-i to "inspect it", which opens an inspector on the result. This works in any text area. Try for example inspecting "self" in a class browser, and you will inspect the underlying class object (which the browser shows a high-level view of).<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">In the Inspector you see the objects referenced by this object (via instance variables or indexed fields) in the left panel. Select any of them and choose "inspect" from the context menu (or press cmd-i again). This way you can inspect all the objects in the system.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">A more modern tool than the Inspector (which was around 40 years ago already) is the Object Explorer. It presents you a tree view of an object and its "children", which again are the instance variables and indexed fields of the object. Open it with cmd-shift-i (or "explore" in the context menu).<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">You can also do the reverse. If you choose "objects pointing to this value" you get an inspector showing all the objects that directly point to this object. Similarly there is a "reverse explorer", which you can open by selecting "explore pointers".<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">There are two roots to all the objects in the system:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Smalltalk specialObjectsArray<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">which basically holds everything the Virtual Machine needs to know about, and in turn almost every object in the whole image, and<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;thisContext<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">which is the current execution context, holding onto temporary objects. When a garbage collection is performed, any object not reachable form either of these two roots is removed from memory.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">An "interesting" global object to explore is<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Project current<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">which holds your current workspace, in particular<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Project current world<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">, the root of all morphs in the world. And of course<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Smalltalk<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">itself is the dictionary that holds all global objects, including all classes (unless they are defined in a non-global environment).<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">There is also a low-level way to enumerate all objects in memory. "self someObject" will return the very first object in memory (which happens to be the nil object), and "anObject nextObject" will return the next one:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| object count |<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;count := 0.<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;object := self someObject.<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[0 == object]<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;whileFalse: [count := count + 1.<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;object := object nextObject].<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;count<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Interestingly, this also finds objects that are due to be garbage-collected. For example, if you accidentally closed a text window, there is a good chance its contents will still be in memory, and can be retrieved using an expression like<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ByteString allInstances last: 10<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">This makes use of the someInstance/nextInstance methods, which are similar to someObject/nextObject, but restricted to instances of one class only.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Hope you have fun poking around in the world of objects :)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">- Bert -<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Beginners mailing list<br></blockquote><blockquote type="cite">Beginners@lists.squeakfoundation.org<br></blockquote><blockquote type="cite">http://lists.squeakfoundation.org/mailman/listinfo/beginners<br></blockquote><br><br>------------------------------<br><br>Message: 3<br>Date: Wed, 1 Jan 2014 02:23:04 +0100<br>From: karl ramberg &lt;karlramberg@gmail.com&gt;<br>Subject: Re: [Newbies] object instance browser?<br>To: "A friendly place to get answers to even the most basic questions<br><span class="Apple-tab-span" style="white-space:pre">        </span>about<span class="Apple-tab-span" style="white-space:pre">        </span>Squeak." &lt;beginners@lists.squeakfoundation.org&gt;<br>Cc: David Holiday &lt;neuburge@rohan.sdsu.edu&gt;<br>Message-ID:<br><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;CAGzzWLgJCGf1AkddemfwwvsRtfaHoHO5R+mRPu5eR4ZQy+iFfw@mail.gmail.com&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>I do it :-)<br><br>Happy new year!<br><br>Cheers,<br>Karl<br><br><br>On Tue, Dec 31, 2013 at 12:40 PM, Bert Freudenberg &lt;bert@freudenbergs.de&gt;wrote:<br><br><blockquote type="cite">Hey, I wrote it, you make the workspace, deal? ;)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Happy New Year, btw.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">- Bert -<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On 31.12.2013, at 12:37, karl ramberg &lt;karlramberg@gmail.com&gt; wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Make a Welcome Workspace with this info :-)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Cheers,<br></blockquote><blockquote type="cite">Karl<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Tue, Dec 31, 2013 at 11:27 AM, Bert Freudenberg &lt;bert@freudenbergs.de&gt;wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">On 31.12.2013, at 08:53, David Holiday &lt;neuburge@rohan.sdsu.edu&gt; wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Is there a way to browse the ecosystem of objects in a Smalltalk image?<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Yes, multiple ones in fact. This is a major reason working in Smalltalk<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">feels more immediate than in other environments.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I'm not talking about the class browser, what I'm looking for is a way<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">to see what objects have actually been instantiated and what their state is.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">The basic tool for this is called an Inspector. Whenever you have an<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">expression, like "3 + 4", you press cmd-i to "inspect it", which opens an<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">inspector on the result. This works in any text area. Try for example<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">inspecting "self" in a class browser, and you will inspect the underlying<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">class object (which the browser shows a high-level view of).<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">In the Inspector you see the objects referenced by this object (via<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">instance variables or indexed fields) in the left panel. Select any of them<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">and choose "inspect" from the context menu (or press cmd-i again). This way<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">you can inspect all the objects in the system.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">A more modern tool than the Inspector (which was around 40 years ago<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">already) is the Object Explorer. It presents you a tree view of an object<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">and its "children", which again are the instance variables and indexed<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">fields of the object. Open it with cmd-shift-i (or "explore" in the context<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">menu).<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">You can also do the reverse. If you choose "objects pointing to this<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">value" you get an inspector showing all the objects that directly point to<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">this object. Similarly there is a "reverse explorer", which you can open by<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">selecting "explore pointers".<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">There are two roots to all the objects in the system:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Smalltalk specialObjectsArray<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">which basically holds everything the Virtual Machine needs to know about,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">and in turn almost every object in the whole image, and<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;thisContext<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">which is the current execution context, holding onto temporary objects.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">When a garbage collection is performed, any object not reachable form<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">either of these two roots is removed from memory.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">An "interesting" global object to explore is<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Project current<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">which holds your current workspace, in particular<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Project current world<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">, the root of all morphs in the world. And of course<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Smalltalk<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">itself is the dictionary that holds all global objects, including all<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">classes (unless they are defined in a non-global environment).<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">There is also a low-level way to enumerate all objects in memory. "self<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">someObject" will return the very first object in memory (which happens to<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">be the nil object), and "anObject nextObject" will return the next one:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| object count |<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;count := 0.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;object := self someObject.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[0 == object]<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;whileFalse: [count := count + 1.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;object := object nextObject].<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;count<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Interestingly, this also finds objects that are due to be<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">garbage-collected. For example, if you accidentally closed a text window,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">there is a good chance its contents will still be in memory, and can be<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">retrieved using an expression like<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ByteString allInstances last: 10<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">This makes use of the someInstance/nextInstance methods, which are<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">similar to someObject/nextObject, but restricted to instances of one class<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">only.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Hope you have fun poking around in the world of objects :)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">- Bert -<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Beginners mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Beginners@lists.squeakfoundation.org<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">http://lists.squeakfoundation.org/mailman/listinfo/beginners<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Beginners mailing list<br></blockquote><blockquote type="cite">Beginners@lists.squeakfoundation.org<br></blockquote><blockquote type="cite">http://lists.squeakfoundation.org/mailman/listinfo/beginners<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Beginners mailing list<br></blockquote><blockquote type="cite">Beginners@lists.squeakfoundation.org<br></blockquote><blockquote type="cite">http://lists.squeakfoundation.org/mailman/listinfo/beginners<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20140101/f713a71f/attachment-0001.htm<br><br>------------------------------<br><br>_______________________________________________<br>Beginners mailing list<br>Beginners@lists.squeakfoundation.org<br>http://lists.squeakfoundation.org/mailman/listinfo/beginners<br><br><br>End of Beginners Digest, Vol 93, Issue 1<br>****************************************<br></div></blockquote></div><br></div></body></html>