Okay, let me try to explain a bit better :-)
Let's say I have created 100 bikes. (Types with methods/functions)
I keep track of the bikes in a tList so that I can do a forEach.
Now I want to delete bike 20.
How can I directly reference to bike 20 without looping through all the bikes and find bike 20?
Let's say I have created 100 bikes. (Types with methods/functions)
I keep track of the bikes in a tList so that I can do a forEach.
Now I want to delete bike 20.
How can I directly reference to bike 20 without looping through all the bikes and find bike 20?