Proper Text Returns Mac -> Win ?

Devin Asay devin_asay at byu.edu
Fri Nov 14 15:07:59 EST 2008


On Nov 14, 2008, at 12:44 PM, Scott Rossi wrote:

> Hi List:
>
> I'm sure this is ridiculously easy, but am wondering if anyone can  
> explain
> to me how to generate a simple text document on OS X that has return
> characters which read properly Windows.  I've tried replacing return
> characters with different values, writing as binary (binfile) data  
> instead
> of file, and still the text refuses to wrap properly on Windows.  My  
> dumb
> workaround wound up being to physically copy and paste text into a  
> Win text
> file.
> What am I missing?

Scott,

Try this:

get fld "mytext"
replace lf with crlf in it
put it into url "binfile:myfile"

HTH

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




More information about the use-livecode mailing list