source: CIVL/examples/specialStatements/choose_bad2.cvl@ e2877ba

1.23 2.0 main test-branch
Last change on this file since e2877ba 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: 100 bytes
Line 
1#include<civlc.cvh>
2
3int main(){
4 int x;
5 $scope scp;
6
7 $choose{
8 $when(scp<$here) x++;
9 }
10}
Note: See TracBrowser for help on using the repository browser.