aboutsummaryrefslogtreecommitdiff
path: root/check/for.p
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-09-04 13:20:05 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-09-04 13:20:05 -0400
commit30a16a2fdfd527e89a83f49f53cb448aafcb4e9a (patch)
tree284a664cee7b5e53bdaf1fe560c1a80e950f058c /check/for.p
parent7e29eae526f7a5014934b92a239923dd30835afd (diff)
parent4fced0fc39d3aeacb3c6d434aeeb622468a857cc (diff)
Merge branch 'type_checking' into func-array_info
Diffstat (limited to 'check/for.p')
-rw-r--r--check/for.p7
1 files changed, 1 insertions, 6 deletions
diff --git a/check/for.p b/check/for.p
index 694f9a5..5391c8c 100644
--- a/check/for.p
+++ b/check/for.p
@@ -1,14 +1,9 @@
program main ( input, output );
- var a, b: integer;
- var x,y,z: real;
- var ai :array [1..10] of integer;
+ var a, b,c: integer;
begin
-{ TEST }
a := 1;
- x := 3.14;
- b := a + 35;
(* test *)
for c := 0 to 10 do begin
for a:= 10 downto 0 do b := a - c