realbasic-nug
[Top] [All Lists]

Re: FolderItem.delete Oddities?

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: FolderItem.delete Oddities?
From: Thomas Tempelmann <tempelmann@gmail.com>
Date: Tue, 31 Mar 2009 22:00:27 +0200
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; dkim=neutral (body hash did not verify) header.i=@gmail.com
Delivered-to: listarchive@realsoftware.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=bwr44qdx0Ax0Q9hijgACqxvmPYcdY6bSx033+zpNSVc=; b=dI7/iIFm4UXwCb373WW2+KQgYqFQ+mhm/SqSd1YGBNw4Ya7x7dLAgT7Z3+yRs55SXq 3K3ZFb9Kt3D0tFKyQ4x5UXn8MTJNQE4ZcWRUotSNhfdnQgRdKa1V3oXwc1lBJJwjd0OX eu5ycAWKrPie6liQbKqrsr2qZb/NUWo3jL5yo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=FbTCzNwURaMrBnnwlET6ZWj8wdYzIgFWRHnLBS2T1khwflAJWK/WXcPrc5yV6qcG6X 8VGp1/nntn5s4aFAvyvNrqPz7CdgEc0YK4N+PZCQTLdnBCWv0MlqnQSqMbuAiibFzK4U 1Aq1QfFeXHByRvnMGOt4qaQkQxDiBuGmoI2Pw=
In-reply-to: <2DA6A6CD-2049-437C-B9DC-F95144365F35@mac.com>
References: <382799.72156.qm@web65614.mail.ac4.yahoo.com> <A0B9E68F-F447-4291-9727-E72D8648E1B4@online.de> <58031FB4-BB70-45EC-B698-FBB7998DC783@mac.com> <E7631244-FE97-4299-BC4A-79EDF81E8393@online.de> <89fe53800903311240y1999380dt2fbfe60ce44cc408@mail.gmail.com> <2DA6A6CD-2049-437C-B9DC-F95144365F35@mac.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
On Tue, Mar 31, 2009 at 21:49, Arnaud Nicolet <anic297@mac.com> wrote:
> preventing to make nicer apps for Mac OS X

I have to comment on this detail again:

The only use of indexing a directory by a number from 1 to f.Count()
was to get all items of a dir. It can't be used for anything else. You
cannot store the index and then later expect that if you get the item
for the same index, you'll get the same item, because other files may
have been added (or subtracted) to the dir in the mean time. And even
for that way to get all items in a dir, it's counter-intuitive to use
an index number. All you want is: All Items in the Folder, then
operate on that result.

-- 
Thomas Tempelmann, http://www.tempel.org/

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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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