On 03/26/2011 11:23 AM, Holger Hans Peter Freyther wrote:
On 03/26/2011 11:11 AM, Paolo Bonzini wrote:
Yes, your original idea of returning 0 now is correct. checkError will return
0 for you:
What about the following?
+ ifFail: [self checkError].
ifFail: [SystemExceptions.EndOfStream signalOn: self]
>
what do you think?
What about changing ^0 to "self pastEnd. ^0" in checkError?
Paolo
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk