Download

From false to increase integer number and repeat process

I made from 6 index integer array to delete random index and print all other numbers then restore the array as it was. So for example in the first picture I can get a print of 1 3 4 5 6, with the number 2 missing. However it takes a lot of nodes to do this, if the array is miles long I will get old. I try something in the second picture to repeat the print process and increase the index of the array print with 1 and when this index reach last (or +1 which i didnt do yet) to get the TRUE state after print and continue. I dont know how to link FALSE and +1 integer then to continue with print string repetition.

I added this and PC crash it looks logical to me what is wrong? the connection after SET is going to print string again