Ok, so i have been going through this every which way, so if i there is a source of info i should be looking at, please direct.
Basically, I think that array delete removes the index but then effectively just pops the value off the back.
I am using an array of numbers to generate a random number that will not be repeated.
I populate my array (numbersShown) with 1 to 10 at x positions 0 to 9.
Each time i want a number i call numbersShown.At(floor(random(numbersShown.Width)))
This works well.
I am displaying that number of sprites.
The user clicks on a number button that has an instance variable for a number (1 to 10).
numbersShown - Delete index int(Button.clickedValue -1) from X axis.
The length of the array is getting shorter, but I see repeat values when i call numbersShown.At(floor(random(numbersShown.Width))) as though the last value on the array is dissappearing, not the value at the index.
Alternatively, the shorter array is not picked up until the next tick but that is not something i am sure about.