# List Iterator Bug & Suggestions

**URL:** https://www.finalbuilder.com/forums/t/list-iterator-bug-suggestions/4333
**Category:** Discussion
**Created:** [October 20, 2008, 9:38am UTC](https://www.finalbuilder.com/forums/t/list-iterator-bug-suggestions/4333 "2008-10-20T09:38:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sexy-trousers](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sexy-trousers/32/97_2.png) [@sexy-trousers](https://www.finalbuilder.com/forums/u/sexy-trousers)
#### Post date: [October 20, 2008, 9:38am UTC](https://www.finalbuilder.com/forums/t/list-iterator-bug-suggestions/4333/1 "2008-10-20T09:38:55Z")

</div>

In AT2 if you break out of a list iterator by setting a variable that is evaluated in the execute condition, the next time it is run (my script has this iterator in a loop), it continues where it left off rather re-initializing the list iterator contents. (see attached project to see what I mean).

In addition to my other suggestions from previous posts, here are a few more things to add to the AT feature list...

- A&nbsp;way to break out of a list iterator (or any iterator for that matter as above).
- In the append to variable action, allow a custom seperator to be appended to the text (not just CRLF/TAB) - at the very least add a Comma, Semicolon and Pipe character as an option.
- Add an option/tool to remove unused variables from the project (or at least list them for manual review/removal)
- Add a default tab/spaces length under the script editor, tab lengths are a little large/random even with Smart Tabs on/off.
- Add an index collection/dictionary type object to allow un-ordered adding, deleting and querying of the memebers of the collection by key. Sometimes you just need more than stack or queue

TJ
