Created
February 8, 2017 11:09
-
-
Save jpluimers/82dfb5bd040e6f1b29914f9913992254 to your computer and use it in GitHub Desktop.
Delphi "WAT?!" of the day
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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