Skip to content

Instantly share code, notes, and snippets.

@ivankahl
Created June 11, 2015 11:49
Show Gist options
  • Save ivankahl/dede66bbce04dcccb855 to your computer and use it in GitHub Desktop.
Save ivankahl/dede66bbce04dcccb855 to your computer and use it in GitHub Desktop.
Swap two integers inside Delphi
var
X, Y, Temp := Integer;
begin
Temp := X;
X := Y;
Y := Temp;
end;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment