• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to get the index of an item in a list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get the index of an item in a list


  • Subject: Re: How to get the index of an item in a list
  • From: Shane Stanley <email@hidden>
  • Date: Mon, 25 Jun 2001 20:31:19 +1000

On 25/6/01 5:45 PM +1000, Greg Strange, email@hidden, wrote:

> I'm sitting here. At 2:37 in the morning. Wanting to get the index of an
> item in a list. You are there. Sleeping. Not wanting the index of an item
> in a list. When you wake up, will you consider my plight?
>
Heck, I'll look at it before I go to bed...
>
> I can see where I could loop through with a counter and get it but isn't
> there a better way?

No -- looping is it. Now go to bed.

--
Shane Stanley, email@hidden


References: 
 >How to get the index of an item in a list (From: Greg Strange <email@hidden>)

  • Prev by Date: Re: How to get the index of an item in a list
  • Next by Date: Re: Finder: Delete files
  • Previous by thread: Re: How to get the index of an item in a list
  • Next by thread: Re: How to get the index of an item in a list
  • Index(es):
    • Date
    • Thread