1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
program main ( input, output );
var a, b: integer;
var x,y,z: real;
var ai :array [1..10] of integer;
procedure bar (a, b: integer);
var test:integer;
begin
test := 2;
a := 2
end;
procedure bar1 (a, b: real);
var test:integer;
begin
test := 2;
a := 2.0
end;
procedure bar2 (a: real);
var test:integer;
begin
test := 2;
a := 2.0
end;
procedure bar3 (a, b, c, d, e, f, g: integer);
var test:integer;
begin
test := 2;
a := 2
end;
procedure bar4 (a, b, c, d: real; e, f, g: integer);
var test:integer;
begin
test := 2;
a := 2.0;
e := 2
end;
begin
{ TEST }
a := 1;
x := 3.14;
b := a + 35
(* test *)
end.
|