:[EMAIL PROTECTED]]On
> > Behalf Of Nick Youmans
> > Sent: 26. heinäkuuta 2001 22:49
> > To: [EMAIL PROTECTED]
> > Subject: Re: list and variable
> >
> >
> > > how can i find if there an item taht i'm looking for in a list
> > if i don't
&
)
The result is 2, because 12 is the second value in the list.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Nick Youmans
> Sent: 26. heinäkuuta 2001 22:49
> To: [EMAIL PROTECTED]
> Subject: Re: list and variable
>
>
> &
i think you can just use getPos:
if myList.getPos(d) <> 0 then
--it's in the list
end if
--bh
Nick Youmans wrote:
>
> > how can i find if there an item taht i'm looking for in a list if i don't
> > know it's position
> >
> > example
> > mylist = [a, d, p, o]
> > and i want to know if d is in t
i'm really sorry for the spelling
my brain is melting
__
how can i find if there an item taht i'm looking for in a list if i
don't
know it's position
example
mylist = [a, d, p, o]
and i want to know if d is in the list but it could be in any position in
the list
thanx
[T
> how can i find if there an item taht i'm looking for in a list if i don't
> know it's position
>
> example
> mylist = [a, d, p, o]
> and i want to know if d is in the list but it could be in any position in
> the list
position = 0
repeat while i = 1 to mylist.count
if mylist[i] = "d" then
how can i find if there an item taht i'm looking for in a list if i don't
know it's position
example
mylist = [a, d, p, o]
and i want to know if d is in the list but it could be in any position in
the list
thanx
[To remove yourself from this list, or to change to digest mode, go to
http://www.