realbasic-nug
[Top] [All Lists]

Re: checking for existing file

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: checking for existing file
From: John Jobe <myrblistbox at comcast dot net>
Date: Tue, 25 Apr 2006 17:10:47 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <007605EE-3F30-418A-A161-F95F8247FFAD at total dot net>
boolean=folderitem.exists

On Apr 25, 2006, at 5:03 PM, Robert Carroll wrote:

Hi,

Any comments on a preferred method to reliably check whether a file already exists (in a given location) would be appreciated.

I am mostly using something like:

for i = 0 to parentfolder.index

if parentfolder.item(i).name= myfilename then
mybool =  true
end if
next

return mybool

thanks

Rob
_______________________________________________
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>

_______________________________________________
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>