<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br>Hello,<div><br></div><div>I would like to know if it is possible to apply dynamic typing in smalltalk. For example, If I want to use polymorphism, it would be:</div><div><span class="Apple-tab-span" style="white-space:pre">        </span></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>&nbsp;&nbsp; &nbsp; var := Class new.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>var := (SubClass1) message.&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>var := (SubClass2) message.</div><div><br></div><div>Where message from SubClass1 is different then the one from SubClass2.</div><div>Is there any solution for my problem?&nbsp;</div><div>I know that there is no type in smalltalk but there is definitely a way to use polymorphism right?</div><div><br></div><div>Thank you in advance,</div><div>Regards</div><div>alex</div>                                               </body>
</html>