Re: How to get the index of an item in a list
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: JollyRoger <email@hidden>
- Date: Mon, 25 Jun 2001 07:28:39 -0500
On 6/25/2001 2:45 AM, "Greg Strange" <email@hidden> wrote:
>
I can see where I could loop through with a counter and get it but isn't
>
there a better way?
Nope. As others have said, iterating the list is the way to go here.
Note: You can use the "exit repeat" command to jump out of your repeat loop
once you have found the item you are looking for in the list. That can cut
your search time down considerably if the item happens to be close to the
top of the list.
JR