Ha. "binfile:" works

I think I asked this question and had it answered six months ago, but the answer slipped off the end of a gray whisker. Good case for documentation:

in the "See also" list for "return" add an item: "binfile" and

then in the write up for "binfile:" add:
======
The "binfile" keyword can also be used to block auto-translation of return constants to the platform specific return character(s) in a saved text file. For example, if you are working on the Mac OS and want to save your text file so that linefeeds appear in the same places when viewed on a Unix machine, do this:

replace numToChar(13) with numToChar(10) in tData
put tData into URL "binfile:someFile.txt"
=======

Thanks
Sivakatirswami


On Thursday, December 5, 2002, at 07:46 PM, J. Landman Gay wrote:

If you use url "file" you get the automatic line-endings translations. To keep the line endings intact with no translation when writing to disk, use "binfile" instead:

put tTemplate into URL "binfile:index.shtml"
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Reply via email to