Hi all.
I think all know the function for the lists "item [...] of [list name]". This function take a value in a list by the adress (the number). My suggestion is: add a new function "place used by [...] in [list name]" (bad english maybe an other name) who take the adress by the value. It would be usefull for the codes to import from the lists.
Give your opinions on this suggestion.
Thanks for read that.
PS: if you don't get the advantages of this function, maybe you just start on Scratch, maybe my english is too bad.
Offline
That's a really great idea! I can't tell you how many times I've wanted something like this.
You can do something similar with the features Scratch provides (looping through each item of the list), but that takes a long time to both make and execute. I'd love an idea like this!
The only issue I can see is if there are is more than one instance of that value in the list. But that could easily be fixed.
Offline
fg123 wrote:
Great idea! Ithink it's "index containing item [] of [a\/]"
no, I think 'item' is better, because it reports the item of the list that the string is in.
Offline