Guest cooper Posted August 27, 2010 Report Share Posted August 27, 2010 My Problem: I have a txt-File, where I store some Data separated by newline. For instance: -------Name1Name2Name3------- So I want to put this Information into a list specified by "add to local list" function. If I used the function "list_item" at the Position "1" I get an error, which says, that I am out of the list range.This occurs, if all the three Names are stored in the first line of the list. I expect to get the following result: Position[1] == Name2 Can anyone help me? What do I do wrong? If you need more Info, just say, I will check this topic instantly :-) Quote Link to post Share on other sites
theninjamanz 29 Posted August 27, 2010 Report Share Posted August 27, 2010 My Problem: I have a txt-File, where I store some Data separated by newline. For instance: -------Name1Name2Name3------- So I want to put this Information into a list specified by "add to local list" function. If I used the function "list_item" at the Position "1" I get an error, which says, that I am out of the list range.This occurs, if all the three Names are stored in the first line of the list. I expect to get the following result: Position[1] == Name2 Can anyone help me? What do I do wrong? If you need more Info, just say, I will check this topic instantly :-) Start the list at 0 Quote Link to post Share on other sites
Guest cooper Posted August 27, 2010 Report Share Posted August 27, 2010 Start the list at 0Thank you for you reply. Do you mean the set list position function? Quote Link to post Share on other sites
MiriamMB 63 Posted August 27, 2010 Report Share Posted August 27, 2010 Thank you for you reply. Do you mean the set list position function? yep, set list position to 0 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.