source:
liacs/coco/tests/code-generation/test3.p0@
284
Last change on this file since 284 was 2, checked in by , 15 years ago | |
---|---|
File size: 147 bytes |
Rev | Line | |
---|---|---|
[2] | 1 | program diep; |
2 | ||
3 | var | |
4 | c: integer; | |
5 | ||
6 | procedure proc2; | |
7 | ||
8 | begin | |
9 | c := 64 | |
10 | end; | |
11 | ||
12 | procedure proc1; | |
13 | ||
14 | begin | |
15 | proc2 | |
16 | end; | |
17 | ||
18 | begin | |
19 | proc1; | |
20 | writeinteger(c) | |
21 | end. |
Note:
See TracBrowser
for help on using the repository browser.