gettingstarted
[Top] [All Lists]

Re: Saving data to an external file

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Saving data to an external file
From: Terry Ford <tmford at shaw dot ca>
Date: Sun, 30 Jul 2006 19:46:49 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <20060731021625 dot 45889 dot qmail at web60411 dot mail dot yahoo dot com> <EAF332BD-C895-4744-B5D1-7FF5413C8F7F at declareSub dot com>

On Jul 30, 2006, at 7:36 PM, Charles Yeomans wrote:

FolderItem.AppendToTextFile creates the file if one does not already exist; presumably CreateTextFile fails if the file already exists.

In my experience, CreateTextFile *will* create and overwrite an existing text file. FolderItem.AppendToTextFile will add to an existing file but that use was not mentioned.

It's a good feature to know however.

Terry

PS, What I would like Lennox to explain is how he manages to get " If f exists Then" to work as he typed it twice. ;-)



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>