Thlitmi Posted December 5, 2010 Share 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 Link to comment Share on other sites More sharing options...
trancexx Posted December 5, 2010 Share Posted December 5, 2010 Your problem is very likely semantics since that's perfectly valid syntax. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Thlitmi Posted December 5, 2010 Author Share Posted December 5, 2010 That should mean,that I have error somewhere else .. ! Link to comment Share on other sites More sharing options...
Newb Posted December 5, 2010 Share 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. Link to comment Share on other sites More sharing options...
Thlitmi Posted December 5, 2010 Author Share 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. Link to comment Share on other sites More sharing options...
Zedna Posted December 5, 2010 Share Posted December 5, 2010 Maybe you are looking for UBound() Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Thlitmi Posted December 5, 2010 Author Share 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] Link to comment Share on other sites More sharing options...
Zedna Posted December 5, 2010 Share Posted December 5, 2010 [sPLVED] [sOLVED] Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Thlitmi Posted December 5, 2010 Author Share Posted December 5, 2010 [sOLVED] wow ! :-D Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now