source:
liacs/coco/tests/varia/bitwise.p0@
195
Last change on this file since 195 was 2, checked in by , 15 years ago | |
---|---|
File size: 116 bytes |
Rev | Line | |
---|---|---|
[2] | 1 | program bits; |
2 | ||
3 | var | |
4 | a: integer; | |
5 | ||
6 | begin | |
7 | a := not 4; | |
8 | a := a and 3; | |
9 | a := a or 1; | |
10 | writeinteger (a) | |
11 | end. |
Note:
See TracBrowser
for help on using the repository browser.