<html>
<body>
<font size=3>The exception can resume, which is the only way the
comparison would run. And it might not be resumed with a boolean, thus
the = true test.<br><br>
At 10:26 AM 5/7/2007, Damien Cassou wrote:<br>
<blockquote type=cite class=cite cite="">Hi Norbert,<br><br>
2007/5/7, Norbert Hartl &lt;norbert@hartl.name&gt;:<br>
<blockquote type=cite class=cite cite="">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; error signal = true<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ifTrue:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[self reset.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
self logout.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
self reLogin.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
exception restart]<br><br>
This code comes from VW. Is the signal method implemented<br>
differently under VW. In squeak the &quot;error signal&quot; itself<br>
throws the error so there is no ifTrue: evaluation,
right?</blockquote><br>
Are you sure that 'error' is an instance of Exception or one of its<br>
subclasses? Maybe it's something else.<br><br>
Moreover, I don't see the point of 'something = true ifTrue:'. Why<br>
not: 'something ifTrue:'?<br><br>
-- <br>
Damien Cassou<br>
</font></blockquote></body>
<br>
<div>--</div>
<div>Alan Knight [|], Cincom Smalltalk Development</div>
<div>knight@acm.org</div>
<div>aknight@cincom.com</div>
<div><a href="http://www.cincom.com/smalltalk" EUDORA=AUTOURL>
http://www.cincom.com/smalltalk</a></div>
<br>
<div>&quot;The Static Typing Philosophy: Make it fast. Make it right.
Make it run.&quot; - Niall Ross</div>
</html>