Created
April 8, 2015 02:03
-
-
Save junr03/0afcfa55f1195a0e5746 to your computer and use it in GitHub Desktop.
Additional Testing to Share
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 X; | |
VAR ff : ARRAY 5 OF INTEGER; | |
VAR i: INTEGER; | |
BEGIN | |
i := -1; | |
ff[i] := 39; | |
WRITE ff[0] | |
END X. |
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 X; | |
VAR ff : ARRAY 5 OF INTEGER; | |
VAR i: INTEGER; | |
BEGIN | |
i := 5; | |
ff[i] := 39; | |
WRITE ff[0] | |
END X. |
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 X; | |
VAR x: INTEGER; | |
VAR i: INTEGER; | |
BEGIN | |
i := 0; | |
READ x; | |
x := x - x + 85; | |
x := x DIV i; | |
WRITE x | |
END X. |
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 X; | |
BEGIN | |
IF 9 > 5 THEN | |
WRITE 42 | |
END | |
END X. |
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 X; | |
BEGIN | |
IF 5 # 9 THEN | |
WRITE 42 | |
END | |
END X. |
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 X; | |
BEGIN | |
IF 5 = 5 THEN | |
WRITE 42 | |
END | |
END X. |
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 X; | |
BEGIN | |
IF 5 <= 9 THEN | |
WRITE 42 | |
END | |
END X. |
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 X; | |
BEGIN | |
IF 9 >= 5 THEN | |
WRITE 42 | |
END | |
END X. |
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 X; | |
VAR x: INTEGER; | |
VAR i: INTEGER; | |
BEGIN | |
i := 0; | |
READ x; | |
x := x - x + 85; | |
x := x MOD i; | |
WRITE x | |
END X. |
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 X; | |
VAR a : INTEGER; | |
BEGIN | |
a := 1; | |
REPEAT a := a + 1 UNTIL a = 42 END; | |
WRITE a | |
END X. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment