Re: [Pharo-project] Issue 2001 in pharo: Positionable stream hardcodes end of line delimiter
March 15, 2011
7:39 p.m.
Updates: Status: Closed Comment #1 on issue 2001 by marcus.d...@gmail.com: Positionable stream hardcodes end of line delimiter http://code.google.com/p/pharo/issues/detail?id=2001 this has been fixed... in 1.2: nextLine "Answer next line (may be empty) without line end delimiters, or nil if at end. Let the stream positioned after the line delimiter(s). Handle a zoo of line delimiters CR, LF, or CR-LF pair" self atEnd ifTrue: [^nil]. ^self upToAnyOf: CharacterSet crlf do: [:char | char = Character cr ifTrue: [self peekFor: Character lf]]
5617
Age (days ago)
5617
Last active (days ago)
0 comments
1 participants
participants (1)
-
pharoï¼ googlecode.com