source: CIVL/examples/specialStatements/when2.cvl@ 18c7e5b

1.23 2.0 main test-branch
Last change on this file since 18c7e5b was f654c25, checked in by Manchun Zheng <zmanchun@…>, 11 years ago

cleaned up the translation of $choose and $when; added examples and tests accordinly.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@2626 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 132 bytes
Line 
1int main(){
2 int a=10;
3
4 $when(a<100){
5 while(a>0){
6 a=a-1;
7 int b;
8 b=a+1;
9 }
10 int c=a;
11 c=a+1;
12 }
13}
Note: See TracBrowser for help on using the repository browser.