Is SelectElement() "smart"?
Is SelectElement() "smart"?
When I'm in the middle of a large list, is SelectElement() smart in the sense that it will go relative from the current element's Listindex back and forth through the list to reach the desired element? Or does it always go through the list from the start?
"I have never let my schooling interfere with my education." - Mark Twain
Re: Is SelectElement() "smart"?
Yes. It always goes the shortest route from start, end or the current position.
Note that after using ChangeCurrentElement() the list "forgets" its current index and so has to go from start or end on the next SelectElement().
Note that after using ChangeCurrentElement() the list "forgets" its current index and so has to go from start or end on the next SelectElement().
quidquid Latine dictum sit altum videtur