Re: list and variable

2001-07-26 Thread R. Bhakti Klein
:[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 &

RE: list and variable

2001-07-26 Thread Pekka Buttler
) 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 > > > &

Re: list and variable

2001-07-26 Thread R. Bhakti Klein
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

list and variable

2001-07-26 Thread Dominic Villiard
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

Re: list and variable

2001-07-26 Thread Nick Youmans
> 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

list and variable

2001-07-26 Thread Dominic Villiard
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.