Re: Streams



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 =----
.



Relevant Pages

  • Re: =?iso-8859-1?q?Re:_Kolmorgorov_Complexity_and_Kim_=D8yhus?=
    ... >>>of the string. ... >> universal computing device, say an universal Turing machine, which IS ... K.C. is defined to require an universal computer, ... >These are different forms of potential compression. ...
    (talk.origins)
  • =?iso-8859-1?q?Re:_Kolmorgorov_Complexity_and_Kim_=D8yhus?=
    ... >>of the string. ... These are different forms of potential compression. ... >>functional system may not be able to sustain such sequence compression ... Chaos theory is about DETERMINISTIC systems which amplify small ...
    (talk.origins)
  • Re: Attention Sean - question about CSI
    ... Maybe the degree of compression can serve as a measure ... If I am allowed to choose the compression algorithm *after* ... which compresses that string to a single bit. ... If you are allowed to transmit the data separately, ...
    (talk.origins)
  • Re: Just for fun...
    ... complexity in practical scenarios... ... corresponding complexities for a given string can differ at most by a constant ... When I first learned about the concept of compression, ... surprise in the questions/issues being discussed, ...
    (comp.lang.ruby)
  • Re: compression
    ... years has had compression on it.. ... It can vary attack time.. ... It gives you a more even output from string to string.. ... without digging entirely into the tubes.. ...
    (alt.guitar)