Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.scripting.vbscript > #11877
| From | "R.Wieser" <address@not.available> |
|---|---|
| Newsgroups | microsoft.public.scripting.vbscript |
| Subject | Re: Something rather odd: results change by adding blank lines to the code |
| Date | 2018-02-28 17:16 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <p76kl7$q3b$1@gioia.aioe.org> (permalink) |
| References | <p7630h$1oem$1@gioia.aioe.org> <p76g9f$v83$1@dont-email.me> |
Mayayana, > Microsoft, in their wisdom, were trying to protect us from > binary files. ReadAll stops at the first null. To bad that they forgot to either zero out the rest of the string, or shrink it to fit the actual read data ... ... apart from not mentioning that stop-at-first-zero in their documentation ofcourse. :-( > Use Read(x) instead of ReadAll. Didn't think of doing it that way. Instead I just read the file byte-by-byte, doing the checking along the way (as well as gathering the ASCII contents). Regards, Rudy Wieser
Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Find similar | Unroll thread
Something rather odd: results change by adding blank lines to the code "R.Wieser" <address@not.available> - 2018-02-28 12:15 +0100
Re: Something rather odd: results change by adding blank lines to the code Wally W. <ww84wa@aim.com> - 2018-02-28 08:05 -0500
Re: Something rather odd: results change by adding blank lines to the code "R.Wieser" <address@not.available> - 2018-02-28 15:14 +0100
Re: Something rather odd: results change by adding blank lines to the code JJ <jj4public@vfemail.net> - 2018-02-28 20:25 +0700
Re: Something rather odd: results change by adding blank lines to the code Wally W. <ww84wa@aim.com> - 2018-02-28 08:38 -0500
Re: Something rather odd: results change by adding blank lines to the code "R.Wieser" <address@not.available> - 2018-02-28 14:55 +0100
Re: Something rather odd: results change by adding blank lines to the code "Mayayana" <mayayana@invalid.nospam> - 2018-02-28 10:01 -0500
Re: Something rather odd: results change by adding blank lines to the code "R.Wieser" <address@not.available> - 2018-02-28 17:16 +0100
csiph-web