Skip to content

Instantly share code, notes, and snippets.

@Quby
Created October 8, 2011 05:27
Show Gist options
  • Save Quby/1271908 to your computer and use it in GitHub Desktop.
Save Quby/1271908 to your computer and use it in GitHub Desktop.
procedure delete(var arr : array of integer; index : integer; var len : integer);
var i : integer;
begin
for i := index to len do begin
arr[i] := arr[i+1];
end;
dec(len);
end;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment