Re: carriage return trouble
Re: carriage return trouble
- Subject: Re: carriage return trouble
- From: Shane Stanley <email@hidden>
- Date: Thu, 5 Feb 2004 18:16:01 +1100
On Feb 5, 2004, at 5:13 PM, Andrew Oliver wrote:
When you 'write' to a file starting at the EOF, you overwrite the last
character in the file (in this case, the last return from the previous
write) with the string that you're writing.
You need to start writing at the EOF + 1:
write ("-------" & "alma" & "-------" & return) to openfile starting at
(theeof + 1)
You can do it that way, but it involves getting the eof separately.
Using "write x to openFile starting at eof" does the same thing.
--
Shane Stanley <email@hidden>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.