Sir Ducksworthy
2012-07-06 18:18:12
Is their some Pascal Function that will do this that anyone knows of, I just want to Completely delete a Single Piece of an Integer Array that Contains 1 '0' without Looping through it but also delete it's Length from the array without scanning every piece to see if it contains null
Edit:
Dw I got it
Edit:
Dw I got it
Store[5]:=High(CombinedColors);
For Store[6]:=0 to Store[5] do
if(CombinedColors[Store[6]]=0)then
begin
DeleteValueInIntArray(CombinedColors, Store[6]);
Store[5]:=Store[5]-1;
Break;
end;