realbasic-nug
[Top] [All Lists]

checking for existing file

To: realbasic-nug at lists dot realsoftware dot com
Subject: checking for existing file
From: Robert Carroll <robc at total dot net>
Date: Tue, 25 Apr 2006 18:03:22 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
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>


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