Created
March 13, 2012 14:18
-
-
Save ldaniel/2029056 to your computer and use it in GitHub Desktop.
Unreachable code in Pascal
This file contains hidden or 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 Unreachable_Code_Sample; | |
Uses Crt; | |
Var N1: Real; | |
Begin | |
Clrscr; | |
N1 := 0; | |
If N1 > 0 then | |
Begin | |
{ unreachable code... } | |
ClrScr; | |
Write('Input N1:'); | |
Readln(N1); | |
Readkey; | |
End; | |
End. | |
{ HEY GIST, Y U NO PASCAL IN DROPDOWNLIST? } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment