<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Just a simple question. Although it seems pretty obvious but just &nbsp;for the sake of confirming, are the class variables also visible to the subclasses of subclasses and so on?<br><br><div><hr id="stopSpelling">Subject: Re: [Newbies] Scope?<br>From: casey.obrien.r@gmail.com<br>Date: Sun, 23 Jun 2013 15:20:50 -0700<br>To: beginners@lists.squeakfoundation.org<br><br><div>Unfortunately this is not a question with a short answer.&nbsp;</div><div><br></div><div>Namespace for instance variables: they're visible within the instance object they live in. Class variables are tricky; they're visible to the class they belong to as well as its subclasses. Class instance variables are visible only from the class they're declared in.&nbsp;</div><div><br></div><div>Blocks in brackets which look like [Object inspect] may have closure semantics (this is true in the latest Squeak, Pharo, and Cuis, but hasn't been integrated in e.g. Scratch.)</div><div><br></div><div>Traditionally, Smalltalk-80 has had a single global namespace for classes, but I think Squeak and Pharo are running Environments now, which breaks up the single class namespace in a way familiar from languages wherein one must include xyz in order to get access to certain state and behavior.&nbsp;<br><br>Hopefully this helps, as confusing as it is.&nbsp;<br><br>On Jun 23, 2013, at 1:41 PM, Azka Niazi &lt;<a href="mailto:azka.akn@live.com">azka.akn@live.com</a>&gt; wrote:<br><br></div><div></div><blockquote><div>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">What scope is implemented in Squeak? Where can I find proper tutorial or description of this for Squeak's implementation?<div><br></div><div>Regards,</div><div>Azka</div>                                               </div>
</div></blockquote><blockquote><div><span>_______________________________________________</span><br><span>Beginners mailing list</span><br><span><a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a></span><br><span><a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a></span><br></div></blockquote><br>_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners</div>                                               </div></body>
</html>