Re: new line when writing to text file
Re: new line when writing to text file
- Subject: Re: new line when writing to text file
- From: Yvan KOENIG <email@hidden>
- Date: Wed, 24 Mar 2010 12:49:55 +0100
Le 24 mars 2010 à 11:06, Vittorio a écrit :
Il giorno 24/mar/2010, alle ore 05.30, Bruce Robertson ha scritto:
............................
set eof of WorkingFile to 0 -- Overwrites existing file to start
from scratch
...........................
It looks to me that this command is redundant. In fact, without it,
the file is written from scratch all the same.
Am I right?
Not sure.
If you don't use it and the old file was longer than the new content,
you may get at last this kind of data:
the_new_contentthe_end_of_the_old_file.
If you use set eof to 0 the file will be:
the_new_content
Yvan KOENIG (VALLAURIS, France) mercredi 24 mars 2010 12:49:49
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden