On Mon, 12 Dec 2005, Michalis Kamburelis wrote:
Are we talking here about making a class that can read any TStream descendant
line-by-line (i.e. by simple a'la Readln method) ?
Then I believe this was already discussed on fpc-pascal, I remember that I
sent there my TTextReader class implementation that does just that.
TTextReader class is also part of pasdoc code right now, you can see it here
[http://cvs.sourceforge.net/viewcvs.py/*checkout*/pasdoc/pasdoc/source/component/PasDoc_ProcessLineTalk.pas].
Is this the kind of thing that is wanted ?
Yes, with the exception that TTextReader should be a TStream descendent.
Michael.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel