blob: 45d92f11c8a70a762b02b2b5569b8b607432ccef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
(* dangling ELSE binds to closest IF *)
program main( input, output );
var a: integer;
begin
a := 5;
if ( a < 10 ) then
if ( a >= 10 ) then
a := 1
else
a := 0;
a:=2
end.
|