write to file command
gcanyon at inspiredlogic.com
Mon Feb 11 18:33:01 EST 2002
At 11:11 PM +0100 2/11/02, yves COPPE wrote:
>If the file already exists, the write to file command does not remove characters from it. For example, if the file is 100 characters long, and you write a value 60 characters long to the start of the file, the file now contains the 60 characters of the value, followed by the last 40 characters of the original file.
Check out the update option, which will do what you want.
Also check out the URL file access -- as long as you're not dealing with large (>1MB, maybe) amounts of data, it can be a lot easier to handle.
More information about the Use-livecode