[Newbies] Problems with do:
stephane.ducasse at gmail.com
Sun Sep 17 18:47:43 UTC 2006
this is free mathieu. This is a pattern.
Use it :)
On 17 sept. 06, at 19:51, Mathieu wrote:
> Ralph Johnson a écrit :
>> You could do something like
>> [aFileStream atEnd] whileFalse: [line := aFileStream nextLine.
>> Transcipt show: line: cr.]
>> Alternatively, you could convert your stream of characters into a
>> stream of lines. I described something similar in
>> http://wiki.cs.uiuc.edu/PatternStories/FunWithStreams but it
>> created a
>> stream of words instead of a stream of lines. Read that, and you
>> should be able to make a LineStream pretty easily.
>> -Ralph Johnson
>> Beginners mailing list
>> Beginners at lists.squeakfoundation.org
> Very cool :)
> Do you mind if I use it for reading token in the NewCompiler?
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
More information about the Beginners