azzzura 0 Posted June 12, 2013 Hi, my english is bad. But try please to understand me. I have array with numbers for example: setarray @some_numbers[0],1,2,3,4,5,6,7,8,9,10,11,12,13,14,15; I have next array with random numbers setarray @another_array_random[0],53,1,65,13,63,6,17,54,73,2,78,9 I need to get 3rd array from this two arrays, what will looks like that: @last_array[0],1,13,6,2; Show me a way how can i do it in scripts? I think you get me. Sure, i know, i must need to use for () {}; but i tryed alot of time, and i thin, without algorytm, i cannot do anything. Help me by ready way. Quote Share this post Link to post Share on other sites
0 Emistry 145 Posted June 12, 2013 http://pastebin.com/raw.php?i=NzViisPf Quote Share this post Link to post Share on other sites
0 azzzura 0 Posted June 12, 2013 Yes, i get it. Thank you a lot. I was miss about for (some; some; some) { for (some2; some2; some2) { if (>) {} }} Quote Share this post Link to post Share on other sites
Hi, my english is bad. But try please to understand me.
I have array with numbers for example:
setarray @some_numbers[0],1,2,3,4,5,6,7,8,9,10,11,12,13,14,15;
I have next array with random numbers
setarray @another_array_random[0],53,1,65,13,63,6,17,54,73,2,78,9
I need to get 3rd array from this two arrays, what will looks like that:
@last_array[0],1,13,6,2;
Show me a way how can i do it in scripts?
I think you get me.
Sure, i know, i must need to use for () {}; but i tryed alot of time, and i thin, without algorytm, i cannot do anything. Help me by ready way.
Share this post
Link to post
Share on other sites