lists goto item N
BlitzMax Forums/BlitzMax Programming/lists goto item N
| ||
Okay I'm probably missing somthing obvious here! is there any quick way to goto the Nth item in a list, rather than going to the first item and calling next N times? |
| ||
Method ValueAtIndex:Object( index ) uses a loop btw! |
| ||
Another reason I use arrays. But let's not get into that right now. ;) |
| ||
uses a loop btw! How else would it? If it "went straight there" it wouldn't be a linked list, it'd be an array. |