Last change
on this file since 22 was 2, checked in by Rick van der Zwet, 15 years ago |
Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)
|
File size:
230 bytes
|
Rev | Line | |
---|
[2] | 1 | program tempnamesmess;
|
---|
| 2 |
|
---|
| 3 | function temp(i: integer): integer;
|
---|
| 4 |
|
---|
| 5 | var temp1, t1, tmp1, t: integer;
|
---|
| 6 | begin
|
---|
| 7 | temp1 := 42;
|
---|
| 8 | t1 := temp1 + temp1;
|
---|
| 9 | tmp1 := t1 div i;
|
---|
| 10 | writeinteger(t);
|
---|
| 11 | temp := t
|
---|
| 12 | end;
|
---|
| 13 |
|
---|
| 14 | begin
|
---|
| 15 | writeinteger(temp(2))
|
---|
| 16 | end.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.