PROBLEMS WITH WRITE TO FILE

J. Landman Gay jacque at hyperactivesw.com
Mon May 19 17:13:02 EDT 2003


On 5/19/03 3:12 PM, Stephen Barncard wrote:


> Must I delete the file entirely before 'overwriting'? This seems strange 
> and unneeded. Is there a better syntax?

Yes, there's better syntax. Besides the options others have mentioned, 
you can also specify:

  open file targetfile for write

By specifying "for write", all previous contents of the file will be 
overwritten by the new content.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list