The amount, 5, IS larger than the number of objects, 4. So the result should be 'undefined', yet it returns the receiver, 'four'. And I don't believe the string 'four' has any 'future' of getting larger.<div>
<br></div><div>I'm somewhat new to all this.<br><div><div><br></div><div>Daniel Klein</div><div><br><br><div class="gmail_quote">On Sat, Jan 24, 2009 at 10:30 PM, James Foster <span dir="ltr"><<a href="mailto:Smalltalk@jgfoster.net">Smalltalk@jgfoster.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">Not a bug. <div><br></div><div>"<span style="font-family:Verdana;font-size:9px">The result is undefined if amount is larger than the number of objects in the receiver's future sequence values." (<span style="font-family:Helvetica;font-size:12px">ANSI 5.9.2.4)</span></span><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<font face="Helvetica" size="3"><span style="font-size:12px"><br></span></font></div><font color="#888888"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font face="Helvetica" size="3"><span style="font-size:12px">James Foster</span></font></div>
</font><div><div></div><div class="Wj3C7c"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font face="Helvetica" size="3"><span style="font-size:12px"><br></span></font></div><div><div>On Jan 24, 2009, at 7:23 PM, Daniel Klein wrote:</div>
<br><blockquote type="cite">Why does <div><br></div><div>'four' readStream next: 5</div><div><br></div><div>not throw an exception like it does in VW?</div><div><br></div><div>Is this a buglet?</div><div><br></div>
<div>Daniel Klein</div> <br></blockquote></div><br></div></div></div></div><br><br>
<br></blockquote></div><br></div></div></div>