Skip to content

Instantly share code, notes, and snippets.

@jpluimers
Created February 8, 2017 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpluimers/82dfb5bd040e6f1b29914f9913992254 to your computer and use it in GitHub Desktop.
Save jpluimers/82dfb5bd040e6f1b29914f9913992254 to your computer and use it in GitHub Desktop.
Delphi "WAT?!" of the day
// Delphi "WAT?!" of the day:
var
v1, v2: Variant;
begin
v1 := True;
v2 := True;
Writeln(v1 + v2); // -2
Readln;
end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment