realbasic-nug
[Top] [All Lists]

Re: FolderItem.delete Oddities?

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: FolderItem.delete Oddities?
From: Brad Rhine <support@bradrhine.com>
Date: Tue, 31 Mar 2009 14:41:14 -0400
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
Delivered-to: listarchive@realsoftware.com
In-reply-to: <143694BF-8BA1-4127-9B19-C04994C7AAE2@online.de>
References: <E14D1190-E2BE-4E5A-BD5A-56B5ED3032EC@kimballlarsen.com> <54AD314E-9E2E-4CEA-A385-43BA49012837@bradrhine.com> <143694BF-8BA1-4127-9B19-C04994C7AAE2@online.de>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
On Mar 31, 2009, at 2:23 PM, Christian Dorn wrote:

Change this:
 f2 = f.item(i)

To this:
 f2 = f.item(0)


NO! You'll have to change it to
  f2 = f.item(1)

because the first item in a directory has the index 1, not 0.


Yes. Sorry about that!

--
Brad Rhine
http://bradrhine.com
AIM:bradrhine
Tangelo: Web Publishing... With A Twist!


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