<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">And to add to Randall's reply, you usually (well, if not 99.999999999999% of the time!) put the accessors at the same level as where the instance variable was declared...&nbsp; Can't remember seeing an example when the inst var was declared in a class and the accessors declared in the subclass !<br><div>&nbsp;</div>-----------------<br>Benoit St-Jean<br>Yahoo! Messenger: bstjean<br>Blog: lamneth.wordpress.com<br>A standpoint is an intellectual horizon of radius zero.<br>(Albert Einstein)<div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Robert Sirois
 &lt;watchlala@hotmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> seaside@lists.squeakfoundation.org<br><b><span style="font-weight: bold;">Sent:</span></b> Friday, July 3, 2009 10:21:36 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [Seaside] Subclasses<br></font><br>

<style>
.hmmessage P
{
margin:0px;padding:0px;}
body.hmmessage
{
font-size:10pt;font-family:Verdana;}
</style>

Here's a completely noob Smalltalk question:<br><br>Let's say you have a superclass ie.:<br><br>WAComponent subclass: #aSuperClass<br>&nbsp;&nbsp;&nbsp; instanceVariableNames: 'iVar'.<br><br>and a subclass of it:<br><br>aSuperClass subclass: #aSubClass<br>&nbsp;&nbsp;&nbsp; instanceVariableNames: ''.<br><br>Basic super/subclass situation with one iVar... so my question is, when you instantiate an instance of the subclass, it also has iVar (not static), right? Or am I totally confused? Also, if I wanted to create accessors for it, would I put those on the parent or child class?<br><br>Thanks,<br>RS<br><br><hr>Hotmail® has ever-growing storage! Don’t worry about storage limits. <a rel="nofollow" target="_blank" href="http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009">Check it out.</a></div></div></div><br>
      <hr size=1>Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the <a href="http://ca.promos.yahoo.com/newmail/overview2/"><b>All-new Yahoo! Mail </b></a></body></html>