Thanks Jacqueline. I knew about the binary thing. I just thnik that silent 
conversions are a violation of the of principle of low level file operations. 
The whole point to low level file functions is so that what you write is what 
you get, and what you read is what you wrote.

But it’s water under the bridge now. I’m even thinking about going through all 
my code and ensuring that all reads and writes are binary, and that all line 
endings are CRLF.

Bob S


On Sep 18, 2024, at 1:59 AM, J. Landman Gay via use-livecode 
<use-livecode@lists.runrev.com> wrote:

I should have thought of that. Line endings are always translated to/from 
native unless the file is opened/written in binary, it's been that way since 
MetaCard. It's a feature.
--
Jacqueline Landman Gay | 
jac...@hyperactivesw.com<mailto:jac...@hyperactivesw.com>
HyperActive Software | 
http://www.hyperactivesw.com<http://www.hyperactivesw.com/>

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to