aboutsummaryrefslogtreecommitdiff
path: root/check/for.p
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-08-18 22:33:52 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-08-18 22:33:52 -0400
commitbb9070ca0d79d2314c25b83e4496f43488446734 (patch)
tree3246d6c237eac1ca2802c241feb77545d12a40e2 /check/for.p
parentceb4fb57521582835643d9bfc3dfda89eca6f1f0 (diff)
parentdd07055aca1c45d147d773350e0c21930822a74f (diff)
Merge branch 'master' into mem-management
Diffstat (limited to 'check/for.p')
-rw-r--r--check/for.p11
1 files changed, 11 insertions, 0 deletions
diff --git a/check/for.p b/check/for.p
new file mode 100644
index 0000000..5391c8c
--- /dev/null
+++ b/check/for.p
@@ -0,0 +1,11 @@
+program main ( input, output );
+
+ var a, b,c: integer;
+begin
+
+ a := 1;
+ (* test *)
+ for c := 0 to 10 do begin
+ for a:= 10 downto 0 do b := a - c
+ end
+end.