source:
CIVL/mods/dev.civl.com/examples/languageFeatures/for.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 192 bytes | |
| Line | |
|---|---|
| 1 | /* Commandline execution: |
| 2 | * civl verify for.cvl |
| 3 | * */ |
| 4 | void main() { |
| 5 | int j = 0; |
| 6 | int x, y; |
| 7 | |
| 8 | for (int i=0; i<10; i++) ; |
| 9 | for (; j<10; j++) ; |
| 10 | for(x=0, y=1; x<10; x++){ |
| 11 | y++; |
| 12 | } |
| 13 | } |
Note:
See TracBrowser
for help on using the repository browser.
