Re: Streams
- From: "Richard" <REMOVE AT-DOTrwskinnerAT@awesomenetDOTnet>
- Date: Tue, 30 Aug 2005 06:54:39 -0500
Hello J. French,
Coming to bail me out again? Thanks !
Several reasons...
1) I don't know how....
2) It has to be formatted to string data before compressed anyway.
3) Compression Lib shows to be using tStringStream.
4) Yes, it seems if I'm writing to a StringStream, why use the StringList?
5) How Long is the StringStream - As long as Memory allows it to be...?
I searched everywhere for examples, but once upon a time, I thought I saw a
stream being used exactly like a string once, where it keep being appended
to in the first example, however I have not tried it.. At any rate, it
would cut out another step if I could do something like that.
s : String...
stream := tStringStream.Create(s);
For x : Low(TestAry) to High(TestAry) do
Stream := Stream + TestAry[x] + #13#10;
OR
For x : Low(TestAry) to High(TestAry) do
Stream.WriteString(TestAry[x] + #13#10); <-- Does this
need to be PChar 'd?
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
.
- References:
- Streams
- From: Richard
- Re: Streams
- From: Nicholas Sherlock
- Re: Streams
- From: Richard
- Re: Streams
- From: J French
- Streams
- Prev by Date: Re: Streams
- Next by Date: Re: Streams
- Previous by thread: Re: Streams
- Next by thread: Re: Streams
- Index(es):
Relevant Pages
|