On 6/5/06, <b class="gmail_sendername">Duncan Mak</b> <<a href="mailto:duncanmak@gmail.com">duncanmak@gmail.com</a>> wrote:<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div><div><br>You can see how ClockMorph gets its content from the ClockMorph>>step method. Right now, it's hard-coded to use 'Time now'.
<br><br>You could get the functionality you want by adding a new instance variable, 'time', and a new method 'time:' that'll set the variable.<br><br>Remember to set it to Time now in ClockMorph>>initialize too.</div>
</div></div></blockquote><div><br>Come to think of it, this will only work if you use blocks, because everytime step is called, a new Time needs to be calculated.<br><br>Duncan.<br> </div><br></div>