rodiney Posted February 16, 2016 Share Posted February 16, 2016 Hello Need help. My program is an array, eg array [ 50 ] and already declared all the data , let's say array [0] is 1 and so on until 49 I want to do an action for each array , and I need to check if I 'm on number 30 , I have to start doing the action of the array [ 30 ] up to 49 and then back to 1 Link to comment Share on other sites More sharing options...
Developers Jos Posted February 16, 2016 Developers Share Posted February 16, 2016 (edited) So what did you try that isn't working yet? Jos ps: No need to tell us you need help when you are posting in the support forum. Edited February 16, 2016 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
rodiney Posted February 16, 2016 Author Share Posted February 16, 2016 I need the program to take a number I enter and make an action starting it. If I write 10 , I need it to read the array , look for an array that has the number 10 , and while the number that Type is equal to the position of the array found perform an action . +1 add the entered number , and to do that until the last array and then comçar the array [0] again. Also need to check when they have Two equal numbers , if you find two 10 I need to know which comes first, say, $ array [ 4 ] = 10 $ Array [ 25] = 10 If want to start doing the action in $ array [ 4 ] . Sorry for my english, i do not know much. And thanks you Link to comment Share on other sites More sharing options...
Developers Jos Posted February 16, 2016 Developers Share Posted February 16, 2016 Again, what have you tried that isn't working? You were given some examples yesterday so what do you have that needs to be changed? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
rodiney Posted February 16, 2016 Author Share Posted February 16, 2016 Yes, yesterday those examples helped me a lot , I'm using them. Redim to increase my array, now I can write the data in my right array. More now I need to compare a number with this Data within the array. Example [ 0] = 3467 [ 0] = 3466 [ 0] = 3465 I need to compare these data with my variable . In this case, my valley 3466 , must take action to change my variable And check with the data from the array , I will increase for 3467 . Link to comment Share on other sites More sharing options...
Developers Jos Posted February 16, 2016 Developers Share Posted February 16, 2016 You are still failing to show your basic script you have to build on! Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
rodiney Posted February 16, 2016 Author Share Posted February 16, 2016 (edited) I can not tell you exactly what it is because otherwise you will not help me . Has a little there to hack , not a hack to steal money or anything, is well harmles, most think that you will not help me. Edited February 16, 2016 by rodiney Link to comment Share on other sites More sharing options...
Developers Jos Posted February 16, 2016 Developers Share Posted February 16, 2016 11 minutes ago, rodiney said: I can not tell you exactly what it is because otherwise you will not help me This remark has the same result because we don't like to be played with! -click- SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts