source:
liacs/coco/tests/code-generation/test6.p0@
130
Last change on this file since 130 was 2, checked in by , 15 years ago | |
---|---|
File size: 149 bytes |
Rev | Line | |
---|---|---|
[2] | 1 | program testif; |
2 | ||
3 | var | |
4 | foo, bar: integer; | |
5 | ||
6 | begin | |
7 | foo := 42; | |
8 | if (foo <> 42) then | |
9 | bar := 255 | |
10 | else | |
11 | bar := 256; | |
12 | writeinteger(bar) | |
13 | end. |
Note:
See TracBrowser
for help on using the repository browser.