Thlitmi 0 Posted December 5, 2010 (edited) $array[$number]=StringLen($array2[$array3[$number]]) Is not a valid syntax. But I do not know how else I would solve this problem..... I do not know under what name of "something" I should search help abou this problem... Index of array2 is defined by values of array3 , how to do it ? //edit: And of-course, I work with this in loop, where $number is not static) Edited December 5, 2010 by Thlitmi Share this post Link to post Share on other sites
trancexx 1,013 Posted December 5, 2010 Your problem is very likely semantics since that's perfectly valid syntax. ♡♡♡ . eMyvnE Share this post Link to post Share on other sites
Thlitmi 0 Posted December 5, 2010 That should mean,that I have error somewhere else .. ! Share this post Link to post Share on other sites
Newb 5 Posted December 5, 2010 That should mean,that I have error somewhere else .. !Post source for more help then. I'm a compulsive poster. When I post something, come to read it at least 5 minutes later after the posting, because I will edit it. I edited even this signature a few minutes later after I wrote it. Share this post Link to post Share on other sites
Thlitmi 0 Posted December 5, 2010 $number[x] is sometimes equal to number -1 Thats not good, because there is no array index number -1 I will try to filter it to see if it'll help. Share this post Link to post Share on other sites
Zedna 279 Posted December 5, 2010 Maybe you are looking for UBound() Resources UDF ResourcesEx UDF AutoIt Forum Search Share this post Link to post Share on other sites
Thlitmi 0 Posted December 5, 2010 After applying the fiter, it worked So the error is, that one of my functions returned value that can not be used for array. It was like invisible error.... [sOLVED] Share this post Link to post Share on other sites
Zedna 279 Posted December 5, 2010 [sPLVED] [sOLVED] Resources UDF ResourcesEx UDF AutoIt Forum Search Share this post Link to post Share on other sites
Thlitmi 0 Posted December 5, 2010 [sOLVED] wow ! :-D Share this post Link to post Share on other sites