Created
July 11, 2019 13:03
-
-
Save gabr42/9d702e14f77d369cfdc7c7f07e66b9c3 to your computer and use it in GitHub Desktop.
When True is Not
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
program BadBoolean; | |
{$APPTYPE CONSOLE} | |
{$R *.res} | |
var | |
True: boolean = not false; | |
procedure Magic; | |
begin | |
True := false; | |
end; | |
begin | |
Writeln(True); | |
Magic; | |
Writeln(True); | |
Readln; | |
end. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment