<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
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 href='http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009' target='_new'>Check it out.</a></body>
</html>