source:
liacs/coco/tests/varia/bitwise.p0@
242
Last change on this file since 242 was 2, checked in by , 15 years ago | |
---|---|
File size: 116 bytes |
Line | |
---|---|
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.