• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: new line when writing to text file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >new line when writing to text file (From: Jack Schwart <email@hidden>)
 >Re: new line when writing to text file (From: Bruce Robertson <email@hidden>)
 >Re: new line when writing to text file (From: Vittorio <email@hidden>)

  • Prev by Date: Kai Edwards
  • Next by Date: Re: Kai Edwards
  • Previous by thread: Re: new line when writing to text file
  • Next by thread: Kai Edwards
  • Index(es):
    • Date
    • Thread