The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:function CountLinesInStream (Instream: TStream): integer;

The function CountLinesInStream returns the number of lines in the stream InStream. The lines are counted starting from the current position of the stream.

Hint: The stream position after calling this function is set to the end of the stream. Thus you have to backup the stream position before calling CountLinesInStream.

Last Update: 2012-Oct-20