-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.dyb
57 lines (51 loc) · 914 Bytes
/
test.dyb
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
46
47
48
49
50
51
52
53
54
55
56
57
program test;
constants
anan = 42;
xd = 42;
types
test integer;
yup array[3] of integer;
rec record
x : integer;
y : integer;
a : array[3] of integer;
b : record
x : integer;
y : integer
end;
c : array[3] of record
x : integer;
y : integer
end
end;
var
x : integer;
y,z : integer;
pts : array[42] of record
x : integer;
y : integer
end;
procedure asd;
forward;
procedure qwe(x : integer; y : integer);
forward;
function zxc : integer;
forward;
function fn(x : integer) : integer;
forward;
{
xd := 3;
a := 5;
read(a);
print(xd);
{
nested := 1;
works := 1
};
qwe(xd, a);
if 3 < 5 then print(a);
if 3 > 5 then print(a) else read(b);
while 1 do a := a + 1;
for n := 0 upto 10 do print(a)
}
.