Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lineread from TStream.

Status
Not open for further replies.

Nordlund

Programmer
Jul 17, 2001
458
SE
Best practice?

What is the best way to read lines from a TStream or descendant?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-"There is always another way to solve it, but I prefer my way.
 
Hmmm..

If I have plain cr/lf formatted text in the Stream, the easest way should be to transfer the text into a StringList by useing LoadFrom Stream.

Am I right?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-"There is always another way to solve it, but I prefer my way.
 
yes indeed

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top