source:
CIVL/examples/sideEffects.cvl@
844ebd8
| Last change on this file since 844ebd8 was b6c1fcb, checked in by , 13 years ago | |
|---|---|
|
|
| File size: 86 bytes | |
| Rev | Line | |
|---|---|---|
| [b6c1fcb] | 1 | |
| 2 | void main() { | |
| 3 | int a; | |
| 4 | int b; | |
| 5 | int c; | |
| 6 | ||
| 7 | a = b = c = 0; | |
| 8 | b++; | |
| 9 | a = ++b; | |
| 10 | c = a--; | |
| 11 | b = c++; | |
| 12 | } |
Note:
See TracBrowser
for help on using the repository browser.
