Pages: 1
Topic closed
Is there a quick way to find the position of an item in a said list?
Like if list [list] looked like this
a
a
a
a
a
a
a
a
b
a
a
a
a
And I wanted to find the position of b (9). How would I do this?
Offline
This is the fastest way I think:
However, that's not very fast, so take the second script tidbit and copy it into the repeat block as many times as you want. The more you copy it, the faster it will run.
For the variable block "set item to ()", make that what you're trying to find (in this case "b").
EDIT: Er, I realize "set item to (a)" should read "set item to (b)".
Last edited by Kileymeister (2010-11-28 10:21:59)
Offline
Thanks! That's what I was thinking, and, it actually works faster then what I remember...
Offline
Topic closed
Pages: 1