Re: Write to file - another question
Re: Write to file - another question
- Subject: Re: Write to file - another question
- From: Sander Tekelenburg <email@hidden>
- Date: Wed, 28 Feb 2001 00:56:59 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
At 16:40 -0600 UTC, on 27/02/2001, email@hidden wrote:
>
This has to do with using a text file created on a Mac on a windows box.
>
When I am writing to a file, and add a return to the end of a line like
>
this
>
>
write return to file starting at eof
>
>
windows doesn't recognize that as a new line. Is there something other than
>
or in addition to 'return' that will give you the new line in addition to
>
the carriage return?
I believe the issue here is 'just' that Windoze does something wacky in the
LineFeed/carriage return area. AFAIK you can write Windows 'returns' by
writing the corresponding ASCII character directly. I believe you're looking
for ASCII character 13, but I'm not 100% sure. This will get you all ASCII
acharacters:
set theChar to 1
repeat 255 times
get ASCII character theChar
--delay 1
set theChar to theChar + 1
end repeat
Hope it gets you the one you need ;)
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <
http://www.pgp.com>
iQA/AwUBOpw+resywKfXgqKdEQIKggCglmqkXy7MhvWbKbKjOE7DpSZUejwAoLMa
Wl/dX1rROUUZX30gz9nXbQs4
=NOTv
-----END PGP SIGNATURE-----
--
Sander Tekelenburg, <
mailto:email@hidden>
Web site at <
http://www.euronet.nl/~tekelenb/>
Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers support Macs!"